Skip to content

PlayersInAreaCondition ​

Inherits: EncounterCondition < Condition < Resource

Checks if a minimum number of players are within the encounter area

Properties ​

intmin_players_required1
floatarea_radius15.0
boolcheck_from_centertrue # If false, checks from any group member

Methods ​

Stringget_encounter_function_description()
boolevaluate_encounter( encounter: EncounterGroup )
Stringget_encounter_description()

Property descriptions ​

int min_players_required = 1 ​

How many players must be in the area

float area_radius = 15.0 ​

The radius of the area

bool check_from_center = true # If false, checks from any group member ​

True: measure from the center of the encounter. False: from any member of the group

Method descriptions ​

String get_encounter_function_description() ​

The sentence the editor shows for the condition, with {placeholders} for its values.

bool evaluate_encounter( encounter: EncounterGroup ) ​

Is the condition met for this encounter?

String get_encounter_description() ​

A short text about what the condition checks on the encounter.