locally tested, adds more features. ready for dedi
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user