RunEventAction ​
Inherits: EventAction < Resource
Runs another event (an event of the database, a "global" one). The main link between a local event and the story: the trap goes off (local) and the ambush event starts (global) and the quest moves on. It uses the conditions of that event unless told not to. It goes on at once, or waits until the event it started is over.
Properties ​
int | event_id | 0 |
bool | check_conditions | true |
bool | wait_until_done | false |
Methods ​
String | get_display_name() |
String | get_function_description() |
void | cleanup() |
Property descriptions ​
int event_id = 0 ​
The event to run (Database > Events)
bool check_conditions = true ​
Run the event only if its own conditions hold (off: it runs whatever they say)
bool wait_until_done = false ​
Wait until the event is over before the next action starts (off: go on at once)
Method descriptions ​
String get_display_name() ​
Return the display name of this Action (from EventAction)
String get_function_description() ​
Return a description of this action with parameter placeholders (from EventAction)
void cleanup() ​
Clean up resources (from EventAction)