EventOnCapeLength

From Journey Modding Wiki
Revision as of 22:16, 26 September 2021 by Alazar88 (talk | contribs) (tested more, works different than i thought)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


EventOnCapeLength Triggers constantly check whether LocalDude's scarf just got "charged" to at least a certain amount of "scarf energy", and activates other Trigger(s) if it did.

Despite the trigger's name, it does not check how long the scarf actually is, just how much "scarf energy" it has.


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 reached this amount of "scarf energy" or more (doesn't check if it lowered past that amount)
effects Trigger / Trigger Clump nothing? when "scarf energy" reaches capeLength, this trigger(s) gets activated
fireOnce boolean false? if false then this Trigger stops checking the "scarf energy"/etc (is deactivated?) after it's been triggered one time