mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ffaa195fe5
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
23 lines
407 B
Plaintext
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]
|