ACE3/addons/medical_engine/initSettings.sqf
2023-10-26 20:28:46 -04:00

30 lines
787 B
Plaintext

[
QEGVAR(medical,enabled),
"CHECKBOX",
[LSTRING(Enabled_DisplayName), LSTRING(Enabled_Description)],
ELSTRING(medical,Category),
true,
true, {
[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)
},
true // Needs mission restart
] call CBA_fnc_addSetting;
[
QEGVAR(medical,enableVehicleCrashes),
"CHECKBOX",
[LSTRING(EnableVehicleCrashes_DisplayName), LSTRING(EnableVehicleCrashes_Description)],
ELSTRING(medical,Category),
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(damagePassThroughEffect),
"SLIDER",
[LSTRING(damagePassThroughEffect_displayName), LSTRING(damagePassThroughEffect_description)],
ELSTRING(medical,Category),
[0, 1, 1, 2, true],
true
] call CBA_fnc_addSetting;