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
25 lines
377 B
Plaintext
25 lines
377 B
Plaintext
/*
|
|
* Author: esteldunedain
|
|
* Converts Arma "Position" to ASL
|
|
*
|
|
* Arguments:
|
|
* 0: position x <Number>
|
|
* 1: position y <Number>
|
|
* 2: position z <Number>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [1, 1, 1] call ace_common_fnc_positionToASL
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
if (surfaceIsWater _this) then {
|
|
_this
|
|
} else {
|
|
ATLtoASL _this
|
|
};
|