mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1cca2db964
Adapted `cbaSettings_settingChanged`
28 lines
951 B
Plaintext
28 lines
951 B
Plaintext
[
|
|
QGVAR(enabled), "CHECKBOX",
|
|
[ELSTRING(common,Enabled), LSTRING(setting_description)],
|
|
LSTRING(category_displayName),
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(removeAmmoDuringCookoff), "CHECKBOX",
|
|
[LSTRING(removeAmmoAfterCookoff_setting_enable), LSTRING(removeAmmoAfterCookoff_setting_description)],
|
|
LSTRING(category_displayName),
|
|
true, // default value
|
|
true // isGlobal
|
|
] call CBA_settings_fnc_init;
|
|
|
|
[
|
|
QGVAR(enableCarDamage), "CHECKBOX",
|
|
[LSTRING(carDamage_setting_enable), LSTRING(carDamage_setting_description)],
|
|
LSTRING(category_displayName),
|
|
false, // default value
|
|
true, // isGlobal
|
|
{[QGVAR(enableCarDamage), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_settings_fnc_init;
|