mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
540 B
Plaintext
18 lines
540 B
Plaintext
// CBA Settings [ADDON: ace_medical_ai]:
|
|
|
|
private _categoryArray = [ELSTRING(medical,Category), "STR_TEAM_SWITCH_AI"];
|
|
|
|
[
|
|
QGVAR(enabledFor), "LIST",
|
|
[LLSTRING(enableFor_title), LLSTRING(enableFor_desc)],
|
|
_categoryArray,
|
|
[
|
|
[0, 1, 2],
|
|
[LELSTRING(Common,Disabled), LLSTRING(enabledFor_OnlyServerAndHC), LELSTRING(Common,Enabled)],
|
|
2
|
|
],
|
|
true, // isGlobal
|
|
{[QGVAR(enabledFor), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|