Skip to content

ForceEncounterCombatAction ​

Inherits: EventAction < Resource

Action to force a Encounter into or out of combat

Properties ​

intencounter_id0
boolforce_into_combattrue
booltarget_nearest_playertrue

Variables ​

EncounterGroupencounter

Methods ​

Stringget_display_name()
Stringget_function_description()
EncounterGroupfind_encounter( name: int )
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

int encounter_id = 0 ​

Name of the Encounter to manipulate

bool force_into_combat = true ​

True puts the encounter in combat, false takes it out.

bool target_nearest_player = true ​

True when the encounter attacks the nearest player.

Variable descriptions ​

EncounterGroup encounter ​

Reference to the special encounter

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

EncounterGroup find_encounter( name: int ) ​

Find a special encounter by its name

Dictionary save() ​

Save action state

void load_data( data: Dictionary ) ​

Load action state