Skip to content

BT Action: Wait For Event

PT | EN
Inherits: BTAction

BTAction 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

TypeNameDefault
NodePathasc_node_pathNodePath("")
StringNameevent_tag&""
floattime_window0.5