EncounterCombatStateChangeTrigger ​
Inherits: EventTrigger < Resource
Triggers when an Encounter changes state (enters combat, exits combat, or is defeated)
Properties ​
int | encounter_id | 0 |
EncounterGroup.EncounterState | target_state | EncounterGroup.EncounterState.IN_COMBAT |
Variables ​
EncounterGroup | encounter |
Methods ​
String | get_display_name() |
String | get_function_description() |
void | setup() |
void | cleanup() |
void | find_encounter() |
bool | is_triggered( event_data: Dictionary ) |
String | generate_objective_description() |
Property descriptions ​
int encounter_id = 0 ​
The encounter to watch.
EncounterGroup.EncounterState target_state = EncounterGroup.EncounterState.IN_COMBAT ​
The state to fire on (in combat, out of combat or defeated).
Variable descriptions ​
EncounterGroup encounter ​
Reference to the special encounter
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() ​
Set up any listeners or connections needed by this trigger
void cleanup() ​
Clean up any listeners or connections
void find_encounter() ​
Find the special encounter by name
bool is_triggered( event_data: Dictionary ) ​
Check if this trigger is currently active
String generate_objective_description() ​
Generate quest objective description