ACE3/addons/common/functions/fnc_positionToASL.sqf
2015-03-24 01:18:00 -03:00

22 lines
314 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
*
* Public: No
*/
#include "script_component.hpp"
if (surfaceIsWater _this) then {
_this
} else {
ATLtoASL _this
};