mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 18:43:29 +00:00
exploded main addon to divide componenets into addons for each feature
This commit is contained in:
@@ -13,7 +13,7 @@ class CfgPatches {
|
||||
"ace_main"
|
||||
};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
author = QUOTE(Valmo);
|
||||
author = PROJECT_AUTHOR;
|
||||
url = "https://github.com/valmojr/armatak";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
_local_address = "armatak" callExtension ["local_ip", []] select 0;
|
||||
|
||||
player setVariable ["localAddress", _local_address];
|
||||
|
||||
player addEventHandler ["Respawn", {
|
||||
params["_unit", "_corpse"];
|
||||
[{
|
||||
if (alive _this) then {
|
||||
"armatak" callExtension ["websocket:location", [player call armatak_fnc_extract_position]];
|
||||
};
|
||||
}, 1, []] call CBA_fnc_addPerFrameHandler;
|
||||
}];
|
||||
|
||||
[{
|
||||
"armatak" callExtension ["websocket:location", [player call armatak_fnc_extract_position]];
|
||||
}, 1, []] call CBA_fnc_addPerFrameHandler;
|
||||
Reference in New Issue
Block a user