PlayersInAreaCondition ​
Inherits: EncounterCondition < Condition < Resource
Checks if a minimum number of players are within the encounter area
Properties ​
int | min_players_required | 1 |
float | area_radius | 15.0 |
bool | check_from_center | true # If false, checks from any group member |
Methods ​
String | get_encounter_function_description() |
bool | evaluate_encounter( encounter: EncounterGroup ) |
String | get_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.