Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 14: Line 14:
 
| unitName '''commandMove''' position|= Syntax
 
| unitName '''commandMove''' position|= Syntax
  
|p1= unitName: [[Object]] |= Parameter 1
+
|p1= unitName: [[Object]] or [[Array]] |= Parameter 1
  
 
|p2=  position: ([[Array]]) - format [[Position]]|= Parameter 2
 
|p2=  position: ([[Array]]) - format [[Position]]|= Parameter 2

Revision as of 17:00, 21 January 2009

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command don't have to be local to the client the command is executed on
Hover & click on the images for descriptions

Description

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

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:
doMove
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section