From ee2be9bfbc616bda4d187b6a52e69e3e2705ec1f Mon Sep 17 00:00:00 2001 From: ShadowMario <44785097+ShadowMario@users.noreply.github.com> Date: Mon, 9 Jan 2023 14:32:54 -0300 Subject: [PATCH] Update TemplateScript.lua --- docs/TemplateScript.lua | 19 ------------------- 1 file changed, 19 deletions(-) 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