speed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SPEED]]
[[Category:Scripting Commands|SPEED]]
[[Category:Scripting Commands OFP 1.97|SPEED]]
[[Category:Scripting Commands OFP 1.96|SPEED]]
[[Category:Scripting Commands OFP 1.46|SPEED]]
[[Category:Scripting Commands OFP 1.46|SPEED]]
[[Category:Scripting Commands ArmA|SPEED]]
[[Category:Scripting Commands ArmA|SPEED]]

Revision as of 20:40, 1 June 2006


speed obj


Operand types:

obj: Object

Type of returned value:

Number

Description:

Object speed (in km/h).


Example:

? (speed truck1) >= 100 : hint "You're going too fast!"