mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 08:23:29 +00:00
backing init function
This commit is contained in:
@@ -3,7 +3,7 @@ params [
|
|||||||
["_units", [], [[]]],
|
["_units", [], [[]]],
|
||||||
["_activated", true, [true]]
|
["_activated", true, [true]]
|
||||||
];
|
];
|
||||||
/*if (isServer && _activated) exitWith {
|
if (isServer && _activated) exitWith {
|
||||||
private _warning = format ["<t color='#FF8021'>ARMATAK</t><br/> %1", "Connecting..."];
|
private _warning = format ["<t color='#FF8021'>ARMATAK</t><br/> %1", "Connecting..."];
|
||||||
[[_warning, 1.5]] call CBA_fnc_notify;
|
[[_warning, 1.5]] call CBA_fnc_notify;
|
||||||
|
|
||||||
@@ -19,6 +19,7 @@ params [
|
|||||||
missionNamespace setVariable ["_atak_server_instance_username", _atak_ots_api_username];
|
missionNamespace setVariable ["_atak_server_instance_username", _atak_ots_api_username];
|
||||||
missionNamespace setVariable ["_atak_server_instance_password", _atak_ots_api_password];
|
missionNamespace setVariable ["_atak_server_instance_password", _atak_ots_api_password];
|
||||||
|
|
||||||
|
/*
|
||||||
_atak_server_instance_token = call armatak_fnc_extract_auth_token;
|
_atak_server_instance_token = call armatak_fnc_extract_auth_token;
|
||||||
|
|
||||||
if (_atak_server_instance_token == "") then {
|
if (_atak_server_instance_token == "") then {
|
||||||
@@ -88,5 +89,5 @@ params [
|
|||||||
"armatak" callExtension ["sendMarkers", _toSend];
|
"armatak" callExtension ["sendMarkers", _toSend];
|
||||||
}, 1, []] call CBA_fnc_addPerFrameHandler;
|
}, 1, []] call CBA_fnc_addPerFrameHandler;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
*/
|
*/
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user