speed

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Object speed (in km/h). Returns relative speed of given object along Y axis. An equivalent to:

3.6 * (velocityModelSpace _obj select 1)

Syntax

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

Examples

Example 1:
if (speed _truck1 >= 100) then {hint "You're going too fast!"};

Additional Information

Multiplayer:
-
See also:
velocitysetVelocityvelocityModelSpacesetVelocityModelSpacesetVelocityTransformationlimitSpeed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section