ACE3/addons/common/functions/fnc_ASLToPosition.sqf

25 lines
376 B
Plaintext
Raw Normal View History

/*
2015-03-24 04:18:00 +00:00
* Author: esteldunedain
* 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>
*
* Return Value:
* None
*
* Example:
* [1, 2, 3] call ace_common_fnc_ASLToPosition
*
* Public: No
*/
#include "script_component.hpp"
if (surfaceIsWater _this) then {
_this
} else {
ASLtoATL _this
};