diff --git a/docs/TemplateScript.lua b/docs/TemplateScript.lua index c80490ad..7585cd31 100644 --- a/docs/TemplateScript.lua +++ b/docs/TemplateScript.lua @@ -161,22 +161,3 @@ function onTimerCompleted(tag, loops, loopsLeft) -- loops = how many loops it will have done when it ends completely -- loopsLeft = how many are remaining end -function onCheckForAchievement(name) - - --deals with achievement checks - - --EX: ---[[ - if name == 'sick-full-combo' and getProperty('bads') == 0 and getProperty('goods') == 0 and getProperty('shits') == 0 and getProperty('endingSong') then - return Function_Continue - end - if name == 'bad-health-finish' and getProperty('health') < 0.01 and getProperty('endingSong') then - return Function_Continue - end - if name == 'halfway' and getSongPosition > getPropertyFromClass('flixel.FlxG','sound.music.length')/2 then - return Function_Continue - end - - - ]]-- -end