BT Action: Wait For Event
Inherits:
BTActionBTAction that waits for an Ability System event to occur.
Description
A Behavior Tree action that enters [constant BT.RUNNING] state and waits for a specific ASEventTag to occur. Uses [method ASComponent.has_event_occurred] to check the Events Historical buffer.
Returns [constant BT.SUCCESS] when event is detected within the time window, continues [constant BT.RUNNING] while waiting.
Properties
| Type | Name | Default |
|---|---|---|
NodePath | asc_node_path | NodePath("") |
StringName | event_tag | &"" |
float | time_window | 0.5 |