ACE3/addons/medical_engine/initSettings.inc.sqf
2024-07-14 11:10:53 +02:00

29 lines
786 B
Plaintext

[
QEGVAR(medical,enabled),
"CHECKBOX",
[LSTRING(Enabled_DisplayName), LSTRING(Enabled_Description)],
ELSTRING(medical,Category),
true,
true,
{[QEGVAR(medical,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;