Events of animations on the blade are triggered by various things.
Some examples are ignition, clash, blast, etc...
When these are triggered by a button event, a gesture, or other means, the way the blade knows which animation, or EFFECT to show, is by designating it in the blade style.
A basic example:
TransitionEffectL<TrConcat<TrWipe<50>,White,TrWipe<50>>,EFFECT_BLAST>
In plain English, this says "When I press the blaster deflect button, run a string of concatenated events that wipe White for 50ms, then wipe it away."
Any EFFECT can be substituted in place of the EFFECT_BLAST argument above.
Note that some of these EFFECTS may be included in features used by some prop files (button controls files) but not in others.
The majority of these are self explanitory. Just read EFFECT as "do something during_XXXX"
Never generated, used as defaults in some places to mean "no effect", but is otherwise not useful for anything.
(OS 6.0+) No effect in blade styles, but may be used in props and other places to detect when the strength of a clash increases after the EFFECT_CLASH has occurred..
(OS 6.0+)
When using color change.
Used when changing presets.
Typically used to apply a dimming effect on blade to conserve battery.
Show battery level visually on blade.
(OS 7.0+)
(OS 7.0+)
When using a feature that skips preon.
(OS 7.0+) When using a feature that bypasses postoff.
(OS 7.0+) Show volume level visually on blade, great for using with volume menu feature.
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+) Triggers the change for sets of sounds within the font from one alternative to another.
See: Alt Sounds
(OS 7.0+) Triggers an optional sound effect during transitions from within a style via TrDoEffect.
Basic usage example:
TrDoEffect<CURRENT_TRANSITION,EFFECT_TRANSITION_SOUND>
Uses sounds named trNN.wav, where N is a number if more than one tr.wav exist.
(OS 7.0+) Toggles an optonal sound effect loop ON/OFF from within a style via TrDoEffect.
Used like a user-defined Lockup state in coordination with a control and visual effect.
Uses sounds named trloopNN.wav, where N is a number if more than one trloop.wav exist.
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)
(OS 7.0+)