Warning: file_put_contents(/ff_508b98f587b02549a8aef561aa5707383641bbf23c99ff99.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
velocity - OFPEC Scripting Command Reference | OFPEC The Editing Center

velocity vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Return velocity (speed vector) of vehicleName as an array with format [x, z, y].

Used In

OFP/ArmA

Example

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

Advertisement