Difference between revisions of "doMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added a second example that works better in ArmA init lines)
Line 24: Line 24:
 
   
 
   
 
|x1= <pre>soldier1 doMove (position "Marker1")</pre> |= Example 1
 
|x1= <pre>soldier1 doMove (position "Marker1")</pre> |= Example 1
 +
|x2= <pre>this doMove (getMarkerPos "Marker1")</pre> |= Example 2
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 18:40, 14 June 2007

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")
Example 2:
this doMove (getMarkerPos "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

Posted on July 3, 2007 - 14:32
Praxtor
Notes from before the conversion: If the distance between the Object and the Ia is more than 100 Meters, the command dont work, the Ia stay stoped.

Bottom Section