Skip to content

TriggerAreaPresenceCondition ​

Inherits: Condition < Resource

Checks if entities are present in a specific trigger area

Properties ​

inttrigger_area_id0
intentity_unique_id0
intrequired_faction0
boolrequire_presencetrue

Methods ​

boolevaluate( argument: Variant = null )
Stringget_description()
Stringget_function_description()
Stringget_expected_argument_type()
boolis_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?