ACE3/addons/fire/initSettings.inc.sqf

39 lines
1.1 KiB
Plaintext
Raw Normal View History

[
QGVAR(enabled), "CHECKBOX",
[ELSTRING(common,Enabled), LSTRING(Setting_Description)],
LSTRING(Category_DisplayName),
2024-01-26 17:38:26 +00:00
true,
1,
{[QGVAR(fireEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
2024-01-26 17:38:26 +00:00
true // needs mission restart
] call CBA_fnc_addSetting;
[
QGVAR(enableFlare), "CHECKBOX",
[LSTRING(Setting_FlareEnable), LSTRING(Setting_FlareDescription)],
LSTRING(Category_DisplayName),
2024-01-26 17:38:26 +00:00
false,
1,
{[QGVAR(flareEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
2024-01-26 17:38:26 +00:00
true
] call CBA_fnc_addSetting;
[
QGVAR(dropWeapon), "LIST",
[LSTRING(Setting_DropWeapon), LSTRING(Setting_DropWeapon_Description)],
LSTRING(Category_DisplayName),
[
2024-01-26 17:38:26 +00:00
[0, 1, 2],
["STR_A3_OPTIONS_DISABLED", ELSTRING(common,aiOnly), ELSTRING(common,playersAndAI)],
1
],
2024-01-26 17:38:26 +00:00
1
] call CBA_fnc_addSetting;
[
QGVAR(enableScreams), "CHECKBOX",
[LSTRING(Setting_EnableScreams), LSTRING(Setting_EnableScreams_Description)],
LSTRING(Category_DisplayName),
2024-01-26 17:38:26 +00:00
true
] call CBA_fnc_addSetting;