Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
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 06:57, 27 August 2007

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