2018-09-17 19:19:29 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
/*
|
|
|
|
* Author: KoffeinFlummi
|
2015-09-20 23:07:49 +00:00
|
|
|
* Returns pitch, bank, yaw for given vehicle in degrees.
|
2015-01-11 16:42:31 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-09-20 23:07:49 +00:00
|
|
|
* 0: Unit/Vehicle <OBJECT>
|
2015-01-11 16:42:31 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2015-09-20 23:07:49 +00:00
|
|
|
* 0: pitch <NUMBER>
|
|
|
|
* 1: bank <NUMBER>
|
|
|
|
* 2: yaw <NUMBER>
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [plane] call ace_common_fnc_getPitchBankYaw
|
|
|
|
*
|
2015-09-20 23:07:49 +00:00
|
|
|
* Public: Yes
|
2015-01-11 16:42:31 +00:00
|
|
|
*/
|
|
|
|
|
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]
|