mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
25 lines
379 B
Plaintext
25 lines
379 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: esteldunedain
|
|
* Converts ASL to Arma "Position"
|
|
*
|
|
* Arguments:
|
|
* 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
|
|
*/
|
|
|
|
if (surfaceIsWater _this) then {
|
|
_this
|
|
} else {
|
|
ASLtoATL _this
|
|
};
|