Donnervogel
Setting forceSpeed to -1 will make the unit move according to the group speed mode (often specified by the waypoint) again. Setting forceSpeed to 0 will halt the unit ignoring waypoints or orders.
Results appear below as you type; use the arrow keys to move through them.
Force the speed limit on given object (object will never attempt to move faster than given by forceSpeed). Use negative value to return to default behaviour.
Important
This has no effect on players.
object forceSpeed speed
Parameters:
Returns: Nothing
_helicopter forceSpeed 150;
_vtol forceSpeed 0; // vtol stop and hover
_vtol forceSpeed -1; // vtol resume
getForcedSpeed · forceWalk · isWalking · isForcedWalk · getSpeed · limitSpeed
Setting forceSpeed to -1 will make the unit move according to the group speed mode (often specified by the waypoint) again. Setting forceSpeed to 0 will halt the unit ignoring waypoints or orders.
Does not seem to do anything at the current time (V1.08.5163)
If a unit (man) has forceSpeed set to anything under jogging (walking only) the unit will refuse to get into vehicles. He will automatically be unassigned from a vehicle everytime he is ordered to get in (via scripts or direct action)
This command must be executed on the client to which the object/unit is local and will only take effect where the unit is local. If locality changes, the command must be reapplied.
In the case of infantry units, it is recommended to use getSpeed for better and more accurate results:
_unit forceSpeed (_unit getSpeed "NORMAL"); // force the unit to run