Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Fixed syntax)
Line 9: Line 9:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Order the given unit to move to the given location (via the radio). |= Description
+
| Order the given unit(s) to move to the given location (via the radio). |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| unit '''commandMove''' position |= Syntax
 
| unit '''commandMove''' position |= Syntax
  
|p1= unit: [[Object]] |= Parameter 1
+
|p1= unit: [[Object]] or [[Array]] |= Parameter 1
  
|p2= position: [[Position]] |= Parameter 2
+
|p2= position: [[Array]] (format [[Position]]) |= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 08:44, 27 October 2006

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 commandMove position
Parameters:
unit: Object or Array
position: Array (format Position)
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