WaitForConditionAction ​
Inherits: CombatAction < Resource
WaitForConditionAction pauses execution until a specific condition is met. Useful in combo sequences or scripted encounters where you need to wait for events.
Description ​
Example: Wait until player finishes casting before continuing combo Example: Wait until adds are spawned before phase transition
Properties ​
EntityCondition | wait_condition | |
float | timeout_duration | 0.0 |
Variables ​
Timer | wait_timer |
Methods ​
bool | is_wait_complete( entity: Entity ) |
void | cleanup() |
Property descriptions ​
EntityCondition wait_condition ​
The condition to wait for
float timeout_duration = 0.0 ​
Maximum time to wait before timing out (0 = wait forever)
Variable descriptions ​
Timer wait_timer ​
Internal state
Method descriptions ​
bool is_wait_complete( entity: Entity ) ​
Check if wait is complete
void cleanup() ​
Cleanup