PlayerInZoneCondition ​
Inherits: Condition < Resource
Checks whether the party is in a zone. The zone counts when the party is in it or in one of its sub-zones: "the party is in Elderwood" is true in The Old Mill. See docs: World > Zones.
Properties ​
int | zone_id | 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 ​
Zone Check
int zone_id = 0 ​
The zone to check (a Zone of the database: World > Zones)
bool require_presence = true ​
Whether the party should be in the zone (true) or outside it (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?