BIS fnc absSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Object Manipulation
|gr1= Object Manipulation


| Returns absolute [[speed]] of a vehicle in kilometers per hour (km/h)
| Returns absolute [[speed]] of a vehicle in kilometers per hour (km/h)

Revision as of 12:17, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
Object - Vehicle
Return Value:
Return value needed

Examples

Example 1:
if (((vehicle player) call BIS_fnc_absSpeed) > 150) then { hint "There goes my driver's license :("; };
Example 2:
_kmh = (vehicle player) call BIS_fnc_absSpeed; _miles = _kmh / 1.609344;

Additional Information

See also:
speed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note