Arma 3 Scripting

doMove

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

Order the given unit(s) to move to the given position (without radio messages). Upon reaching its destination, if it is the group leader it will order the group to form around it's new position. If it is not the leader, it will immediately be ordered to return to formation by the group leader and begin moving back to the group. Use doStop to stop units returning to formation. moveToCompleted will return true when a unit issued this command reaches its destination.

Syntax

unit(s) doMove position

Parameters:

Returns: Nothing

Examples

Example 1

_soldier1 doMove (position _officer);

Example 2

this doMove (getMarkerPos "Marker1");

See also

commandMove · setDestination · moveTo · move · addWaypoint

Community notes

DreadedEntity

The above note is only true of units which group leader is not the player. Player-squad will remain in position until given another order (A3 v2.08.149102)

Waffle SS.

Seems to use PositionATL, which may be important if the destination is above a building's 1st floor.