forceSpeed

From Bohemia Interactive Community
Revision as of 22:16, 1 March 2007 by Donnervogel (talk | contribs) (note about values -1 and 0)
Jump to navigation Jump to search
Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Force the speed of the given object.

Syntax

Syntax:
object forceSpeed speed
Parameters:
object: Object
speed: Number
Return Value:
Nothing

Examples

Example:
Example needed

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Setting forceSpeed to -1 will make the unit move according to the group speed mode/speed mode specified by the waypoint again. Setting forceSpeed to 0 will halt the unit ignoring waypoints or orders.

Bottom Section