commandMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 11: Line 10:


|eff= global |Multiplayer Effects=
|eff= global |Multiplayer Effects=
____________________________________________________________________________________________


| 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. |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. |DESCRIPTION=
____________________________________________________________________________________________


| unitName '''commandMove''' position|SYNTAX=
| unitName '''commandMove''' position|SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code> |EXAMPLE1=
|x1= <code>_soldier1 [[commandMove]] ([[getMarkerPos]] "Marker1") </code> |EXAMPLE1=
____________________________________________________________________________________________


| 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. |=

Revision as of 00:24, 17 January 2021

Hover & click on the images for description

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.
Groups:
Groups

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

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

Notes

Bottom Section