refactored location handler functions, ARMA HAS A TERRIBLE WAY TO HANDLE ARRAY AS VARIABLES

This commit is contained in:
Valmo Trindade
2024-08-21 18:55:20 -03:00
parent fdee644d64
commit 48c5674f17
3 changed files with 9 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
// function description: Receives a player's unit as param and return the information array needed to send the HTTP request
params["_unit"];
private _location = [_unit] call armatak_fnc_convert_location;
private _location = (getPos _unit) call armatak_fnc_convert_location;
private _atak_uid = [_unit] call armatak_fnc_extract_uuid;
private _atak_latitude = _location select 0;