Skip to content

ContextualConditionNumberOfCharactersNearTargetPos

Inheritance 1 ancestor · 62 siblings

Class Documentation

Edit documentation

A condition on the number of units near the target point of the situation. During MoveOrder2D and the ping situations, the client counts the units around the clicked or pinged point in two lists. In other situations both counts are 0.

The condition passes if the selected count compares to mNumberOfCharacters with mCompareOp.

Properties

mTeamCompareOp

U8 = 0
Edit documentation

Selects the count. Only zero and non-zero differ.

Value Name Count used
0 Ally the first list
any other Enemy the second list