Skip to content

PlayerTriggerAreaPresenceCondition ​

Inherits: Condition < Resource

Checks if players are present in a specific trigger area

Properties ​

inttrigger_area_id0
PlayerEventAction.PlayerTargetplayer_slotPlayerEventAction.PlayerTarget.ALL_PLAYERS
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

PlayerEventAction.PlayerTarget player_slot = PlayerEventAction.PlayerTarget.ALL_PLAYERS ​

Which player slot to check for

bool require_presence = true ​

Whether player 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?