Difference between revisions of "doMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 1: Line 1:
[[Category:Scripting Commands|DOMOVE]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|DOMOVE]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|DOMOVE]]
+
 
[[Category:Scripting Commands ArmA|DOMOVE]]
+
| ofp |= Game name
 +
 
 +
|1.00|= Game version
  
 +
|arg= global |= Arguments in MP
  
<h2 style="color:#000066">'''''unit'' doMove ''position'''''</h2>
+
|eff= global |= Effects in MP
 +
____________________________________________________________________________________________
  
 +
| Order the given unit to move to the given location (without radio messages). |= Description
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| unit '''doMove''' 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 doMove (position "Marker1")</pre> |= Example 1
 +
____________________________________________________________________________________________
  
[[Nothing]]
+
| [[commandMove]] |= See also
  
'''Description:'''
+
}}
  
Order unit to move to given position (format [[Position]]) (silently).
+
<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 '''doMove''' [[getMarkerPos]] "MarkerMoveOne"
+
[[Category:Scripting Commands|DOMOVE]]
 +
[[Category:Scripting Commands OFP 1.96|DOMOVE]]
 +
[[Category:Scripting Commands OFP 1.46|DOMOVE]]
 +
[[Category:Scripting Commands ArmA|DOMOVE]]

Revision as of 00:49, 2 August 2006

Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Order the given unit to move to the given location (without radio messages).

Syntax

Syntax:
unit doMove position
Parameters:
unit: Object
position: Position
Return Value:
Nothing

Examples

Example 1:
soldier1 doMove (position "Marker1")

Additional Information

Multiplayer:
-
See also:
commandMove

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section