Effects¶
Effects are visual or audio responses triggered when a substep is completed. Every substep can have an optional effect that plays on completion.
Effect types¶
| Type | Description |
|---|---|
| Animation | Play an animation clip on a scene object |
| Lua | Execute a Lua script |
| Object | Trigger a predefined object effect |
Object effects¶
The following built-in object effects are available:
| Effect | Description |
|---|---|
| Animation | Play a one-shot animation on the effect object |
| Start Loop Animation | Start a continuously looping animation |
| Stop Loop Animation | Stop a looping animation |
| Color Change | Change the color of the effect object |
| Color Blink | Make the object blink with a color |
| Glove Change | Change the material of the player's gloves |
| Show Notification | Display a UI notification message |
| Attach Object To Hand | Attach an object to the player's hand |
VFX effects (via Lua)¶
The following particle and visual effects can be triggered from Lua scripts:
| Effect name | Description |
|---|---|
spotLight |
Configurable spotlight with visible beam |
fireEffect |
Fire/flame particles |
fogEffect |
Fog/mist particles |
smokeEffect |
Smoke particles |
sprayEffect |
Spray particles |
magicBall |
Glowing energy ball |
magicBallViolet |
Violet energy ball |
magicBallWhite |
White energy ball |
How to add an effect to a substep¶
-
Select a substep in the Training Tracks.
-
In the Inspector, find the Effect Object field.
-
Assign the scene object that should receive the effect.
-
Select the Effect type (Animation, Lua, or Object).
-
Configure the effect parameters (animation name, Lua script, or object effect type).
The effect will trigger automatically when the trainee completes the substep.