Instructions/Move Away (Range)

From Desynced Wiki


Move Away (Range)
     
     Moves out of range of another unit, the number value of the target specifies the range
Lua ID moveaway_range
Category Move
Icon Move To.png
Argument One: Type Input
Argument One: Name Target
Argument One: Description Unit to move away from
Argument One: Data Type entity


Description[edit | edit source]

Moves the unit away from the target entity or coordinate. If a number is used, the unit will move away from the target and stop at the specified distance from the target.

Uses[edit | edit source]

When you want a unit to move away from a target.

Combined with Move Unit, you can maintain a distance from the target whether it moves toward or away.

Similar Instructions[edit | edit source]

Move Unit, Move Unit (Async)