ACE3/addons/common/functions/fnc_getPitchBankYaw.sqf
2015-01-13 20:56:02 +01:00

15 lines
279 B
Plaintext

/*
* Author: KoffeinFlummi
*
* Returns [pitch, bank, yaw] for given vehicle in degrees.
*
* Arguments:
* 0: Unit/Vehicle
*
* Return Value:
* [pitch, bank, yaw]
*/
#include "script_component.hpp"
((_this select 0) call BIS_fnc_getPitchBank) + [getDir (_this select 0)]