ACE3/addons/common/functions/fnc_positionToASL.sqf
2015-09-20 16:40:49 +02:00

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