TriggerAreaPresenceCondition ​
Inherits: Condition < Resource
Checks if entities are present in a specific trigger area
Properties ​
int | trigger_area_id | 0 |
int | entity_unique_id | 0 |
int | required_faction | 0 |
bool | require_presence | true |
Methods ​
bool | evaluate( argument: Variant = null ) |
String | get_description() |
String | get_function_description() |
String | get_expected_argument_type() |
bool | is_valid() |
Property descriptions ​
Trigger Area Check
int trigger_area_id = 0 ​
The trigger area ID to check
int entity_unique_id = 0 ​
The specific entity unique ID to look for (0 = any entity)
int required_faction = 0 ​
Required faction (empty = any faction)
bool require_presence = true ​
Whether entity should be present (true) or absent (false)
Method descriptions ​
bool evaluate( argument: Variant = null ) ​
Is the condition met?
String get_description() ​
A short text about what the condition checks.
String get_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.
String get_expected_argument_type() ​
The kind of thing the condition is checked against (an entity, an encounter ...).
bool is_valid() ​
Are the settings of the condition complete?