Skip to content

Send Event To Scene Path

Send a global event to FSMs on GameObjects that match a scene hierarchy path.

Parameters

Parameter Description
Event The event to send. Must be a global event.
Scene Path Hierarchy glob pattern to match, like Hero/Sword, Enemies/*, or **/Zombie*. You can also include an optional scene filter with SceneName:pattern.
Fsm Name Optional FSM name filter. If set, only FSMs with this name receive the event.
Delay Optional delay in seconds before sending the event.

Details

Use / between hierarchy levels.

Path matching uses glob syntax:

  • * matches any characters in one segment.
  • ? matches a single character in one segment.
  • ** matches across multiple segments.

Examples:

  • enemies/*
  • **/zombie*
  • Level02:enemies/**/zombie?

The path is normalized before matching:

  • Leading and trailing / are ignored.
  • \ is converted to /.

Note: This action only sends events to FSMs that are currently active and registered.

If an expected FSM does not receive the event, it may not be active yet in that frame. Add a Wait For Next Frame action before sending the event so all FSMs have time to register.

Debugging

Check events sent in the FSM Log