EncounterActiveStateCondition ​
Inherits: EncounterCondition < Condition < Resource
Checks if an encounter is in a specific active state. Uses EncounterCondition targeting to determine which encounter to check.
Properties ​
bool | required_active_state | true |
Methods ​
bool | evaluate_encounter( encounter: EncounterGroup ) |
String | get_encounter_description() |
String | get_encounter_function_description() |
bool | is_valid() |
String | get_expected_argument_type() |
Property descriptions ​
Active State Check
bool required_active_state = true ​
Whether the encounter should be active (true) or inactive (false)
Method descriptions ​
bool evaluate_encounter( encounter: EncounterGroup ) ​
Is the condition met for this encounter?
String get_encounter_description() ​
A short text about what the condition checks on the encounter.
String get_encounter_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.
bool is_valid() ​
Are the settings of the condition complete?
String get_expected_argument_type() ​
The kind of thing the condition is checked against (an entity, an encounter ...).