Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "| mp=" to "|mp=")
Line 23: Line 23:
 
|x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code>
 
|x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code>
  
| mp= This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not move.
+
|mp= This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not move.
  
 
| [[doMove]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]]
 
| [[doMove]], [[setDestination]], [[moveTo]], [[move]], [[addWaypoint]]

Revision as of 14:23, 25 January 2021

Hover & click on the images for descriptions

Description

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.
Multiplayer:
This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not move.

Syntax

Syntax:
unitName commandMove position
Parameters:
unitName: Object or Array
position: Array - format Position
Return Value:
Nothing

Examples

Example 1:
_soldier1 commandMove (getMarkerPos "Marker1")

Additional Information

See also:
doMovesetDestinationmoveTomoveaddWaypoint
Groups:
Groups

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note