ACE3/addons/vehicles/initSettings.inc.sqf

30 lines
804 B
Plaintext
Raw Normal View History

[
QGVAR(keepEngineRunning),
"CHECKBOX",
[LSTRING(SettingKeepEngineRunningName), LSTRING(SettingKeepEngineRunningDesc)],
ELSTRING(common,ACEKeybindCategoryVehicles),
false, // default value
true // isGlobal
2019-05-03 15:18:32 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(hideEjectAction),
"CHECKBOX",
[LSTRING(HideEjectAction), LSTRING(HideEjectActionTooltip)],
ELSTRING(common,ACEKeybindCategoryVehicles),
true,
2, {
profileNamespace setVariable [QGVAR(showEjectAction), parseNumber !_this];
saveProfileNamespace;
},
true // needs restart
] call CBA_fnc_addSetting;
[
QGVAR(speedLimiterStep),
"SLIDER",
LSTRING(SpeedLimiterStep),
ELSTRING(common,ACEKeybindCategoryVehicles),
[1, 10, 5, -1] // whole numbers only
] call CBA_fnc_addSetting;