Skip to content

ContextualConditionCharacterDistance

Class Documentation

Edit documentation

A character subcondition that compares the distance between the unit and a point with mDistance, in world units. mDistanceTarget selects the point.

Properties

mDistance

F32 = 0
Edit documentation

The distance, in world units, that the measured distance is compared with.

mDistanceTarget

U8 = 0
Edit documentation

The point that the distance is measured from.

Value Name Point
0 Owner the position of the unit that the situation belongs to
any other Situation position the target position of the situation

The client records the target position of a move order in MoveOrder2D and of a spell in the spell situations, and clears it after each situation.