On Variable Change
Triggered when a State Machine asset variable changes
Last updated
Triggered when a State Machine asset variable changes
Executed when the State Machine Variable is modified.
This event fires whenever a variable on a State Machine asset is changed. Use this to react to global state changes across all instances.
Variable
The variable to monitor for changes
Variable, Change, State Machine
Trigger Component:
โโ Event: On State Machine Variable Change
โ โโ Variable: "GameMode"
โโ Actions:
โโ Update UI to reflect new game modeUse this event for global variables that affect the entire game, such as game mode, difficulty settings, or global unlocks.
This monitors asset-level variables. For per-instance variables, use On State Machine Runner Variable Change instead.
Last updated