FSM State Switch
Sends events based on the active state of a target FSM.
Parameters
| Parameter | Description |
|---|---|
| FSM Component | The FSM to check. Identifies the target FSM component where you want to check states. |
| Cases | Send events based on the FSM's active state. Allows you to define state-event pairs to trigger different events based on the current state of the target FSM. |
| Default Event | Event to send if none of the cases match. |
| Use Full Path | Use full path to match sub-states (e.g., Walking/Slow, Walking/Fast). Otherwise use only the state name (e.g., Slow, Fast) |
Debug Info
Toggle Debug Info in the Action title bar to show the current state of the target FSM while playing.
Related Actions
- CheckFsmState - Used to check if an FSM is in a specific state
- SendFsmEvent - Used to send an event to a specific FSM