Instructions/Move Unit

From Desynced Wiki
Revision as of 18:56, 30 October 2023 by Johan (talk | contribs) (informational addition)


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

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

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

Move Away (Range), Move Unit (Async)