ACE3/addons/common/functions/fnc_getPitchBankYaw.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

23 lines
407 B
Plaintext

/*
* Author: KoffeinFlummi
* Returns pitch, bank, yaw for given vehicle in degrees.
*
* Arguments:
* 0: Unit/Vehicle <OBJECT>
*
* Return Value:
* 0: pitch <NUMBER>
* 1: bank <NUMBER>
* 2: yaw <NUMBER>
*
* Example:
* [plane] call ace_common_fnc_getPitchBankYaw
*
* Public: Yes
*/
#include "script_component.hpp"
params ["_vehicle"];
(_vehicle call BIS_fnc_getPitchBank) + [getDir _vehicle]