ACE3/addons/medical_engine/initSettings.inc.sqf

29 lines
777 B
Plaintext
Raw Normal View History

2023-10-27 00:28:46 +00:00
[
QEGVAR(medical,enabled),
"CHECKBOX",
[LSTRING(Enabled_DisplayName), LSTRING(Enabled_Description)],
ELSTRING(medical,Category),
true,
1,
2024-07-14 09:10:53 +00:00
{[QEGVAR(medical,enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
2023-10-27 00:28:46 +00:00
true // Needs mission restart
] call CBA_fnc_addSetting;
[
QEGVAR(medical,enableVehicleCrashes),
"CHECKBOX",
[LSTRING(EnableVehicleCrashes_DisplayName), LSTRING(EnableVehicleCrashes_Description)],
ELSTRING(medical,Category),
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(damagePassThroughEffect),
"SLIDER",
[LSTRING(damagePassThroughEffect_displayName), LSTRING(damagePassThroughEffect_description)],
ELSTRING(medical,Category),
[0, 1, 1, 2, true],
1
] call CBA_fnc_addSetting;