Difference between revisions of "doMove"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Position)
m
Line 18: Line 18:
 
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
 
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1
  
|p2= [[Position}: ([[Array]])|= Parameter 2
+
|p2= [[Position]]: ([[Array]])|= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 04:18, 26 August 2007

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 onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

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

Syntax

Syntax:
unit(s) doMove Position
Parameters:
unit(s): Object or Array
Position: (Array)
Return Value:
Nothing

Examples

Example 1:
soldier1 doMove (position officer)
Example 2:
this doMove (getMarkerPos "Marker1")

Additional Information

See also:
commandMove

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

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