ACE3/addons/core/functions/fnc_getPitchBankYaw.sqf
2015-01-12 05:14:15 -06:00

15 lines
298 B
Plaintext

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