Home »Action Reference»StateMachine Actions»Send Event
Index

Send Event

Sends the specified event after an optional delay.

NOTE: New in 1.2 - to send an event between FSMs it must be marked global in the Event Manager.

Event Target
Where to send the event.
Send Event
The event to send.
Delay
Time delay in seconds.

 

Event Target selection:

  • Self

    Only send this event to this fsm only. Event can be global or local.

  • GameObject

    Sends this event to ALL fsms on this GameObject. Event must be marked global

  • GameObject Fsm

    Only send this event to a specific Fsm off a given GameObject. Event must be marked global

  • FsmComponent

    Only send this event to a specific FsmComponent reference ( same as "GameObject Fsm" only that you don't refer to it by name but pass a reference to the component itself). Event must be marked global

  • Broadcast All

    Sends this event to ALL active Fsm's in the scene. Event must be marked global

  • Host Fsm

    Sends an event to the Fsm running a template. Works only within a Fsm Templates used with the action Run Fsm. Event must be marked global

  • Sub Fsms

    Sends an event to sub Fsms running in this Fsm, Works only within a Fsm Templates used with the action Run Fsm Event must be marked global

Events trigger transitions to new states. See Events.

See Also

Set Event Target