setSpeedMode: Difference between revisions
Jump to navigation
Jump to search
m (VBS2 scripting category removal) |
(mass edit: removing obsolete </dt> and </dd> tags) |
||
Line 34: | Line 34: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 14 Feb 2010 | <dd class="notedate">Posted on 14 Feb 2010 | ||
<dt class="note">'''[[User:MadRussian|MadRussian]]''' | <dt class="note">'''[[User:MadRussian|MadRussian]]''' | ||
<dd class="note">Although setSpeedMode can be called on an individual unit, the entire group will be affected. | <dd class="note">Although setSpeedMode can be called on an individual unit, the entire group will be affected. | ||
<dd class="notedate">Posted on 17 May 2008 | |||
<dt class="note>'''[[User:Paul-Hewson|Paul-Hewson]]''' | <dd class="notedate">Posted on 17 May 2008 | ||
<dt class="note>'''[[User:Paul-Hewson|Paul-Hewson]]''' | |||
<dd class="note">In Multiplayer, this command is overwritten by itself to NORMAL or FULLSPEED (i don't know which one, but it's fast move) when you ask the unit to move via script (ex : _unit doMove (getMarkerPos "destination"); ) | <dd class="note">In Multiplayer, this command is overwritten by itself to NORMAL or FULLSPEED (i don't know which one, but it's fast move) when you ask the unit to move via script (ex : _unit doMove (getMarkerPos "destination"); ) | ||
The solution to solve this problem is to initialize the setSpeedMode after your order the unit to move. | The solution to solve this problem is to initialize the setSpeedMode after your order the unit to move. | ||
Line 53: | Line 53: | ||
If you plan to move the unit again after it reaches its destination, you will have to set the speed mode to LIMITED again like i did just above. | If you plan to move the unit again after it reaches its destination, you will have to set the speed mode to LIMITED again like i did just above. | ||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 02:58, 18 October 2011
Description
- Description:
- Set group speed mode. Mode may be one of:
- "LIMITED" (half speed)
- "NORMAL" (full speed, maintain formation)
- "FULL" (do not wait for any other units in formation)
- Groups:
- Uncategorised
Syntax
- Syntax:
- groupName setSpeedMode mode
- Parameters:
- groupName: Object or Group
- mode: String
- Return Value:
- Nothing
Examples
- Example 1:
_groupOne setSpeedMode "LIMITED"
Additional Information
- See also:
- speedMode
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 14 Feb 2010
- MadRussian
- Although setSpeedMode can be called on an individual unit, the entire group will be affected.
- Posted on 17 May 2008
- Paul-Hewson
- In Multiplayer, this command is overwritten by itself to NORMAL or FULLSPEED (i don't know which one, but it's fast move) when you ask the unit to move via script (ex : _unit doMove (getMarkerPos "destination"); ) The solution to solve this problem is to initialize the setSpeedMode after your order the unit to move. So basically it gives you : _unit doMove (getMarkerPos "destination"); _unit setSpeedMode "LIMITED"; If you plan to move the unit again after it reaches its destination, you will have to set the speed mode to LIMITED again like i did just above.