Skip to content

PartySizeCondition ​

Inherits: Condition < Resource

Checks if the party size meets certain criteria.

Properties ​

Condition.CheckLogicsize_check_logicCondition.CheckLogic.GREATER_EQUAL
inttarget_size1
boolcount_only_alivetrue

Methods ​

boolevaluate( argument: Variant = null )
Stringget_description()
Stringget_function_description()
boolis_valid()
Stringget_expected_argument_type()

Property descriptions ​

Size Check

Condition.CheckLogic size_check_logic = Condition.CheckLogic.GREATER_EQUAL ​

Logic for comparing the party size

int target_size = 1 ​

Target party size to compare against

bool count_only_alive = true ​

Whether to count only alive members (true) or all members (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.

bool is_valid() ​

Are the settings of the condition complete?

String get_expected_argument_type() ​

The kind of thing the condition is checked against (an entity, an encounter ...).