Skip to content

SetUnitStanceFollow

SetUnitStanceFollow(units, target) · SetUnitStanceFollowTracked(units, target)

Inputs: units is one actor or a dense array; target is the object to follow.

Description: Requests a follow order. The tracked form requires the target to remain live at admission and dispatch; a lost target is invalid-target. There is no public append option.

Output: SetUnitStanceFollow returns true for queue admission, otherwise false. SetUnitStanceFollowTracked returns accepted, receipt.

Errors: Wrong Lua argument types raise an argument error. Invalid actors or a lost target reject; the tracked reason is invalid-target when the target disappears. A tracked receipt gives the rejection reason when available.