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>
|
|
|
|
*
|
|
|
|
* Public: Yes
|
2015-01-11 16:42:31 +00:00
|
|
|
*/
|
2015-01-13 19:56:02 +00:00
|
|
|
#include "script_component.hpp"
|
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]
|