Difference between revisions of "commandMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 1: Line 1:
[[Category:Scripting Commands|COMMANDMOVE]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|COMMANDMOVE]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|COMMANDMOVE]]
+
 
[[Category:Scripting Commands ArmA|COMMANDMOVE]]
+
| ofp |= Game name
  
 +
|1.00|= Game version
  
<h2 style="color:#000066"> '''''unit'' commandMove ''position'''''</h2>
+
|arg= global |= Arguments in MP
 +
____________________________________________________________________________________________
  
 +
| Order the given unit to move to the given location (via the radio). |= Description
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| unit '''commandMove''' position |= Syntax
  
'''unit:''' [[Object]] or [[Array]]
+
|p1= unit: [[Object]] |= Parameter 1
  
'''position:''' [[Array]]
+
|p2= position: [[Position]] |= Parameter 2
  
'''Type of returned value:'''
+
| [[Nothing]] |= Return value
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <pre>soldier1 commandMove (position "Marker1")</pre> |= Example 1
 +
____________________________________________________________________________________________
  
[[Nothing]]
+
| [[doMove]] |= See also
  
'''Description:'''
+
}}
  
Order unit to move to given '''position''' (format [[Position]]) (via radio).
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
 +
<!-- Note Section END -->
 +
</dl>
  
'''Example:'''
+
<h3 style="display:none">Bottom Section</h3>
  
soldierOne '''commandMove''' [[getMarkerPos]] "MarkerMoveOne"
+
[[Category:Scripting Commands|COMMANDMOVE]]
 +
[[Category:Scripting Commands OFP 1.96|COMMANDMOVE]]
 +
[[Category:Scripting Commands OFP 1.46|COMMANDMOVE]]
 +
[[Category:Scripting Commands ArmA|COMMANDMOVE]]

Revision as of 22:58, 1 August 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 to move to the given location (via the radio).

Syntax

Syntax:
unit commandMove position
Parameters:
unit: Object
position: 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