velocity

From Bohemia Interactive Community
Revision as of 15:18, 15 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

velocity vehicle

Operand types:

vehicle: Object

Type of returned value:

Array

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."