GameStartTrigger ​
Inherits: EventTrigger < Resource
Triggers when the game starts
Properties ​
float | delay_after_start | 0.0 |
Variables ​
Timer | timer |
Methods ​
String | get_display_name() |
String | get_function_description() |
void | setup() |
void | cleanup() |
bool | is_triggered( _event_data: Dictionary ) |
String | generate_objective_description() |
Property descriptions ​
float delay_after_start = 0.0 ​
How many seconds after the game starts the trigger fires.
Variable descriptions ​
Timer timer ​
The timer of the delay.
Method descriptions ​
String get_display_name() ​
Return the display name for this trigger
String get_function_description() ​
Return the function description with parameter placeholders
void setup() ​
Starts listening: connects the signals the trigger waits for.
void cleanup() ​
Stops listening: disconnects the signals of the trigger.
bool is_triggered( _event_data: Dictionary ) ​
Does this event data satisfy the trigger? Called when the signal the trigger listens to fires.
String generate_objective_description() ​
Generate quest objective description