PlayerTriggerAreaPresenceCondition ​
Inherits: Condition < Resource
Checks if players are present in a specific trigger area
Properties ​
int | trigger_area_id | 0 |
PlayerEventAction.PlayerTarget | player_slot | PlayerEventAction.PlayerTarget.ALL_PLAYERS |
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
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?