doMove

From Bohemia Interactive Community
Revision as of 19:56, 22 January 2009 by Planck (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 February 9, 2008
Kronzky
If doMove is to be used in conjunction with waypoint behavior commands (e.g. setSpeedMode), then those have to be issued after the move command to have an effect. Otherwise the move will be done with the default settings.

Bottom Section