ACE3/addons/common/functions/fnc_positionToASL.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

25 lines
380 B
Plaintext

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