33 lines
768 B
Plaintext
33 lines
768 B
Plaintext
#include "..\script_component.hpp"
|
|
|
|
//---------------------
|
|
// Asset Diary and Markers Settings
|
|
|
|
[
|
|
QGVAR(setting_detectionRangeFromBase), // variable
|
|
"SLIDER", // type
|
|
["Detection Range From Base", "The range from a base that assets will be detected"], // title
|
|
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)], // category
|
|
[0, 1000, 750, 0, false], // [_min, _max, _default, _trailingDecimals, _isPercentage]
|
|
true, // global setting
|
|
{
|
|
params ["_value"];
|
|
[
|
|
QUOTE(COMPONENT),
|
|
"SETTING CHANGED",
|
|
[
|
|
[
|
|
"setting",
|
|
"milsim_fbcb2_assets_setting_detectionRangeFromBase"
|
|
],
|
|
["newValue", _value]
|
|
]
|
|
] call EFUNC(util,log);
|
|
}
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QUOTE(COMPONENT),
|
|
"CREATED SETTINGS",
|
|
[]
|
|
] call EFUNC(util,log); |