commandMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (changed global to local variable to make clear the variable)
Line 14: Line 14:
| unit(s) '''commandMove''' [[Position]]|= Syntax
| unit(s) '''commandMove''' [[Position]]|= Syntax


|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
|p1= [[Object#Unit(s)|Unit(s)]]: [[Object#Unit|Units]] or [[Object#Units|Units]] |= Parameter 1


|p2=  [[Position]]: ([[Array]]) |= Parameter 2
|p2=  [[Position]]: ([[Array]]) |= Parameter 2
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier1 commandMove (position "Marker1")</pre> |= Example 1
|x1= <pre>_soldier1 commandMove (position "Marker1")</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:57, 27 August 2007

Hover & click on the images for description

Description

Description:
Order the given unit(s) to move to the given location (via the radio).
Groups:
Uncategorised

Syntax

Syntax:
unit(s) commandMove Position
Parameters:
Unit(s): Units or Units
Position: (Array)
Return Value:
Nothing

Examples

Example 1:
_soldier1 commandMove (position "Marker1")

Additional Information

See also:
doMove

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