Difference between revisions of "EventOnCapeLength"

Jump to navigation Jump to search
534 bytes added ,  17:55, 25 September 2021
no edit summary
m
Line 1: Line 1:
[[Category:Trigger Types]][[Category:Trigger-Like Triggers]]
[[Category:Trigger Types]][[Category:Trigger-Like Triggers]]


EventOnCapeLength Triggers constantly check whether LocalDude's scarf has grown to be at least a certain length, and when it does then they activate some other Trigger.
EventOnCapeLength Triggers constantly check whether LocalDude's scarf has grown to be at least a certain length, and when it does then they activate some other Trigger.  
 
It judges this based on how long the scarf currently "looks", not how long it "actually is/will look" : as in, if you just triggered something to increase your cape length from 0 to 30 (default maximum), EventOnCapeLength will not trigger its effects until the scarf actually finishes growing to the longest possible length on your screen. (may still need testing - it MIGHT only check scarf length every few seconds, and the few times it's been tested, the check has mostly happened at the same time the scarf finished growing)
 


This Trigger appears to be active as soon as it's created, or at least if it was created when the level loaded.
This Trigger appears to be active as soon as it's created, or at least if it was created when the level loaded.
Line 14: Line 17:
|capeLength
|capeLength
|number
|number
|0
|0?
|the trigger checks to see if LocalDude's scarf just now grew to this length or more (not shrink below it)
|the trigger checks to see if LocalDude's scarf just now grew to this length or more (not shrink below it)
|-
|-
Line 24: Line 27:
|fireOnce
|fireOnce
|boolean
|boolean
|false
|false?
|if false then this Trigger stops checking the scarf length/etc (is deactivated?) after it's been triggered one time
|if false then this Trigger stops checking the scarf length/etc (is deactivated?) after it's been triggered one time
|}
|}

Navigation menu