Skip to content

AwaitAction ​

Inherits: EventAction < Resource

A simple action that introduces a delay in the action execution sequence. Useful for timing events, creating pauses in cutscenes, or delaying effects.

Properties ​

floatduration1.0

Variables ​

Timerawait_timernull
floatactual_duration0.0

Methods ​

Stringget_display_name()
Stringget_function_description()
voidcleanup()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

float duration = 1.0 ​

Duration to wait in seconds

Variable descriptions ​

Timer await_timer = null ​

Timer from ChronoManager

float actual_duration = 0.0 ​

Actual duration being used (after randomization)

Method descriptions ​

String get_display_name() ​

Return the display name of this Action

String get_function_description() ​

Return a description of this action with parameter placeholders

void cleanup() ​

Override cleanup to handle timer

Dictionary save() ​

Override save to store timer state

void load_data( data: Dictionary ) ​

Override load_data to restore timer state