{"name":"BIS_fnc_absSpeed","operator":null,"title":"BIS fnc absSpeed","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_absSpeed","revid":376534,"updated":"2025-10-25T14:37:02Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns absolute speed of a vehicle in kilometres per hour (km/h).","syntaxes":[{"syntax":"Object call BIS_fnc_absSpeed","since":null,"effect":null,"exec":null,"params":[{"name":"Object","type":null,"optional":false,"default":null,"description":"vehicle","types":["Object"],"since":null,"text":"Object - vehicle"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"}}],"examples":[{"text":"```sqf\nif (((vehicle player) call BIS_fnc_absSpeed) > 150) then\n{\n    hint \"There goes my driver's license :(\";\n};\n```","code":["if (((vehicle player) call BIS_fnc_absSpeed) > 150) then\n{\n\thint \"There goes my driver's license :(\";\n};"]},{"text":"```sqf\n_kmh = (vehicle player) call BIS_fnc_absSpeed;\n_mph = _kmh / 1.609344; // miles per hour\n```","code":["_kmh = (vehicle player) call BIS_fnc_absSpeed;\n_mph = _kmh / 1.609344; // miles per hour"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["speed"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Object Manipulation","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}