Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (corrected example Again!!!)
Line 12: Line 12:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Object#Unit(s)|Unit(s)]] '''commandMove''' [[Position]]|= Syntax
+
| unitName '''commandMove''' position|= Syntax
  
|p1= [[Object#Unit(s)|Unit(s)]]: [[Object#Unit|Unit]] or [[Object#Units|Units]] |= Parameter 1
+
|p1= unitName: [[Object]] |= Parameter 1
  
|p2=  [[Position]]: ([[Array]]) |= Parameter 2
+
|p2=  position: ([[Array]]) - format [[Position]]|= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 16:41, 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
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