Difference between revisions of "doMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Fixed syntax)
Line 11: Line 11:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Order the given unit to move to the given position (without radio messages). |= Description
+
| Order the given unit(s) to move to the given position (without radio messages). |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| unit '''doMove''' position |= Syntax
 
| unit '''doMove''' position |= Syntax
  
|p1= unit: [[Object]] |= Parameter 1
+
|p1= unit: [[Object]] or [[Array]] |= Parameter 1
  
 
|p2= position: [[Array]] (format [[Position]])|= Parameter 2
 
|p2= position: [[Array]] (format [[Position]])|= Parameter 2

Revision as of 08:37, 27 October 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(s) to move to the given position (without radio messages).

Syntax

Syntax:
unit doMove position
Parameters:
unit: Object or Array
position: Array (format 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