setSpeedMode: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) (note mentioned in description) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Sets group speed mode. If unit is passed as param, unit's group is used. Mode may be one of: | ||
* '''"UNCHANGED"''' (unchanged) | * '''"UNCHANGED"''' (unchanged) | ||
* '''"LIMITED"''' (half speed) | * '''"LIMITED"''' (half speed) | ||
Line 38: | Line 38: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 17 May 2008 | <dd class="notedate">Posted on 17 May 2008 |
Revision as of 12:59, 5 February 2019
Description
- Description:
- Sets group speed mode. If unit is passed as param, unit's group is used. Mode may be one of:
- "UNCHANGED" (unchanged)
- "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 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.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters