2022-02-14 21:57:50 +00:00
|
|
|
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(DisplayName)];
|
2021-10-30 21:42:47 +00:00
|
|
|
|
2021-10-11 20:48:30 +00:00
|
|
|
[
|
2024-06-20 20:30:33 +00:00
|
|
|
QGVAR(overpressureDistanceCoefficient),
|
|
|
|
"SLIDER",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(distanceCoefficient_displayName), LSTRING(distanceCoefficient_toolTip)],
|
2021-10-30 21:42:47 +00:00
|
|
|
_category,
|
2024-06-20 20:30:33 +00:00
|
|
|
[0, 10, 1, 1],
|
|
|
|
1,
|
|
|
|
{[QGVAR(overpressureDistanceCoefficient), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(backblastDistanceCoefficient),
|
|
|
|
"SLIDER",
|
|
|
|
[LSTRING(backblastDistanceCoefficient_displayName), LSTRING(backblastDistanceCoefficient_toolTip)],
|
|
|
|
_category,
|
|
|
|
[0, 10, 1, 1],
|
|
|
|
1,
|
|
|
|
{[QGVAR(backblastDistanceCoefficient), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|