doMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
(rm. incorrect note, add. new one)
Line 36: Line 36:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on July 3, 2007 - 14:32</dd>
<dd class="notedate">Posted on February 9, 2008</dd>
<dt class="note">'''[[User:Praxtor|Praxtor]]'''</dt><dd class="note">''Notes from before the conversion:''
<dt class="note">'''[[User:Kronzky|Kronzky]]'''</dt>
 
<dd class="note">
If the distance between the Object and the Ia is more than 100 Meters, the command dont work, the Ia stay stoped.
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.
</dd>
</dd>



Revision as of 18:28, 9 February 2008

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)
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