locally tested, adds more features. ready for dedi

This commit is contained in:
2024-02-02 14:34:04 -08:00
parent 3f5c6c5a59
commit b67888f4f1
24 changed files with 416 additions and 163 deletions

View File

@@ -242,6 +242,32 @@
}
] call CBA_fnc_addSetting;
//---------------------
// Asset Diary and Markers Settings
[
"milsim_fbcb2_assets_setting_detectionRangeFromBase", // variable
"SLIDER", // type
["Detection Range From Base", "The range from a base that assets will be detected"], // title
["17th Battalion", "Asset Diary and Markers"], // category
[0, 1000, 750, 0, false], // [_min, _max, _default, _trailingDecimals, _isPercentage]
true, // global setting
{
params ["_value"];
[
"fbcb2_assets",
"SETTING CHANGED",
[
[
"setting",
"milsim_fbcb2_assets_setting_detectionRangeFromBase"
],
["newValue", _value]
]
] call milsim_fnc_log;
}
] call CBA_fnc_addSetting;
diag_log text "[MILSIM] (settings) Custom CBA settings initialized";
nil;