Difference between revisions of "EventOnCapeLength"
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 [[Dude|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) | 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) | ||
Revision as of 18:09, 25 September 2021
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.
Vars
| Name | Data type | Default | Description |
|---|---|---|---|
| capeLength | number | 0? | the trigger checks to see if LocalDude's scarf just now grew to this length or more (not shrink below it) |
| effects | Trigger / Trigger Clump | nothing? | when scarf grows to capeLength, this trigger(s) gets activated |
| fireOnce | boolean | false? | if false then this Trigger stops checking the scarf length/etc (is deactivated?) after it's been triggered one time |