2021-10-30 21:42:47 +00:00
|
|
|
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(itemName)];
|
2018-09-22 03:32:09 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(mapDataAvailable), "LIST",
|
|
|
|
[LSTRING(MapDataAvailable_DisplayName), LSTRING(MapDataAvailable_Description)],
|
2021-10-30 21:42:47 +00:00
|
|
|
_category,
|
2018-09-22 03:32:09 +00:00
|
|
|
[[0,1,2],[LSTRING(MapFill_None), LSTRING(MapFill_OnlyRoads), LSTRING(MapFill_Full)],2], // [values, titles, defaultIndex]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(mapDataAvailable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // require mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2018-09-22 03:32:09 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(waypointPrecision), "LIST",
|
|
|
|
[LSTRING(WaypointPrecision_DisplayName), LSTRING(WaypointPrecision_Description)],
|
2021-10-30 21:42:47 +00:00
|
|
|
_category,
|
2018-09-22 03:32:09 +00:00
|
|
|
[[1, 2, 3], [LSTRING(WaypointPrecision_medium), LSTRING(WaypointPrecision_close), LSTRING(WaypointPrecision_exact)], 2], // [values, titles, defaultIndex]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(waypointPrecision), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
false // require mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|