Warning: file_put_contents(/ff_6abe3c0131af6a95b964891b3f64a9e935ad574170afaba5.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