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 ​
float | duration | 1.0 |
Variables ​
Timer | await_timer | null |
float | actual_duration | 0.0 |
Methods ​
String | get_display_name() |
String | get_function_description() |
void | cleanup() |
Dictionary | save() |
void | load_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