doMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example: position dont work for markers)
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''doMove''' position |= Syntax
| unit(s) '''doMove''' [[position]] |= Syntax


|p1= unit: [[Object]] or [[Array]] |= Parameter 1
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1


|p2= position: [[Array]] (format [[Position]])|= Parameter 2
|p2= position: [[Array]] (format [[Position]])|= Parameter 2

Revision as of 02:41, 26 August 2007

Hover & click on the images for description

Description

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

Syntax

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

Examples

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

Additional Information

See also:
commandMove

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

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