doMove: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
||
Line 31: | Line 31: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on February 9, 2008 | <dd class="notedate">Posted on February 9, 2008</dd> | ||
<dt class="note">[[User:Kronzky|Kronzky]] | <dt class="note">[[User:Kronzky|Kronzky]] | ||
<dd class="note"> | <dd class="note"> | ||
Line 37: | Line 37: | ||
<dd class="notedate">Posted on February 3, 2009 | <dd class="notedate">Posted on February 3, 2009</dd> | ||
<dt class="note">[[User:General_Barron|General Barron]] | <dt class="note">[[User:General_Barron|General Barron]] | ||
<dd class="note"> | <dd class="note"> |
Revision as of 00:58, 30 January 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit(s): Object or Array
- position: Array - format Position
- Return Value:
- Return value needed
Examples
- Example 1:
_soldier1 doMove (position _officer);
- Example 2:
this doMove (getMarkerPos "Marker1");
Additional Information
- See also:
- See also needed
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
- 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.
- Posted on February 3, 2009
- General Barron
- If a unit is part of a group, and is not the leader, the unit will fall back into formation soon after the domove is completed. This does not happen for units that are in a group alone (because they are their own leader). There is no single command to get a unit to move to a position and stay there. The best way to do this is to issue a domove, then wait for the unit to reach his destination, then disable his movement AI.