ACE3/addons/common/functions/fnc_getPitchBankYaw.sqf

23 lines
407 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
/*
* 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>
*
* Example:
* [plane] call ace_common_fnc_getPitchBankYaw
*
2015-09-20 23:07:49 +00:00
* Public: Yes
*/
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]