ACE3/addons/common/functions/fnc_getPitchBankYaw.sqf

20 lines
345 B
Plaintext
Raw Normal View History

/*
* Author: KoffeinFlummi
2015-09-20 23:07:49 +00:00
* Returns pitch, bank, yaw for given vehicle in degrees.
*
* Arguments:
2015-09-20 23:07:49 +00:00
* 0: Unit/Vehicle <OBJECT>
*
* Return Value:
2015-09-20 23:07:49 +00:00
* 0: pitch <NUMBER>
* 1: bank <NUMBER>
* 2: yaw <NUMBER>
*
* Public: Yes
*/
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
2015-09-21 11:08:10 +00:00
params ["_vehicle"];
2015-09-20 23:07:49 +00:00
(_vehicle call BIS_fnc_getPitchBank) + [getDir _vehicle]