Arma 3 Scripting

Command in Groups

commandMove

Also available as Markdown and JSON, or read the original wiki page.

Description

Order the given unit(s) to move to the given location (via the radio). Exactly the same as doMove, except this command displays a radio message. The command will not put a visible waypoint marker unlike when move command is given via commanding menu.

Syntax

unitName commandMove position

Parameters:

Returns: Nothing

Examples

Example 1

_soldier1 commandMove getMarkerPos "Marker1";

Example 2

[_soldier1, _soldier2] commandMove getMarkerPos "Marker1";

Multiplayer

When used on a remote unit, this command will still create a radio message on the remote machine but the unit will not move.

See also

doMove · setDestination · moveTo · move · addWaypoint