BIS fnc absSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 237038 by R3vo (talk))
Tag: Undo
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 23: Line 23:
_miles = _kmh / 1.609344;</code>
_miles = _kmh / 1.609344;</code>


| [[speed]]
|seealso= [[speed]]
}}
}}



Revision as of 01:22, 17 February 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