Instructions/Move Unit

From Desynced Wiki


Move Unit
     
     Moves to another unit or within a range of another unit
Lua ID domove
Category Move
Icon Move To.png
Argument One: Type Input
Argument One: Name Target
Argument One: Description Unit to move to, the number specifies the range in which to be in
Argument One: Data Type entity


Description[edit | edit source]

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

Uses[edit | edit source]

When you want a unit to move towards a target.

When you want a unit to move towards a target, but stop several tiles short or "follow at a distance".

Similar Instructions[edit | edit source]

Move Away (Range), Move Unit (Async)