Difference between revisions of "velocity"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Scripting Commands|V]]
+
[[Category:Scripting Commands|VELOCITY]]
[[Category:Scripting Commands OFP 1.97|V]]
+
[[Category:Scripting Commands OFP 1.97|VELOCITY]]
[[Category:Scripting Commands ArmA|V]]
+
[[Category:Scripting Commands ArmA|VELOCITY]]
  
  

Revision as of 15:23, 4 May 2006


velocity vehicle


Operand types:

vehicle: Object

Type of returned value:

Array

Compatibility:

Added in version 1.80

Description:

Return velocity (speed vector) of vehicle as array [x, z, y].


Example:

? velocity carOne > 50 : hint "Slow down, you are exceeding the speed limit."