ACE3/addons/common/functions/fnc_getPitchBankYaw.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

23 lines
410 B
Plaintext

#include "..\script_component.hpp"
/*
* 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
*/
params ["_vehicle"];
(_vehicle call BIS_fnc_getPitchBank) + [getDir _vehicle]