Update TemplateScript.lua
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user