2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-03-03 04:37:00 +00:00
|
|
|
/*
|
2015-03-24 04:18:00 +00:00
|
|
|
* Author: esteldunedain
|
2015-03-03 04:37:00 +00:00
|
|
|
* Converts ASL to Arma "Position"
|
|
|
|
*
|
|
|
|
* Arguments:
|
2015-09-17 16:25:02 +00:00
|
|
|
* 0: position x <NUMBER>
|
|
|
|
* 1: position y <NUMBER>
|
|
|
|
* 2: position z <NUMBER>
|
2015-03-03 04:37:00 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [1, 2, 3] call ace_common_fnc_ASLToPosition
|
|
|
|
*
|
2015-03-03 04:37:00 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (surfaceIsWater _this) then {
|
|
|
|
_this
|
|
|
|
} else {
|
|
|
|
ASLtoATL _this
|
|
|
|
};
|