2018-02-10 02:32:14 +00:00
|
|
|
// CBA Settings [ADDON: ace_vehicleLock]:
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(defaultLockpickStrength), "SLIDER",
|
|
|
|
[LSTRING(DefaultLockpickStrength_DisplayName), LSTRING(DefaultLockpickStrength_Description)],
|
|
|
|
LSTRING(DisplayName),
|
|
|
|
[-1,60,10,1], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(defaultLockpickStrength), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2018-02-10 02:32:14 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(lockVehicleInventory), "CHECKBOX",
|
|
|
|
[LSTRING(LockVehicleInventory_DisplayName), LSTRING(LockVehicleInventory_Description)],
|
|
|
|
LSTRING(DisplayName),
|
|
|
|
false, // default value
|
|
|
|
true, // isGlobal
|
2018-11-02 17:58:57 +00:00
|
|
|
{[QGVAR(lockVehicleInventory), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2018-02-10 02:32:14 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(vehicleStartingLockState), "LIST",
|
|
|
|
[LSTRING(VehicleStartingLockState_DisplayName), LSTRING(VehicleStartingLockState_Description)],
|
|
|
|
LSTRING(DisplayName),
|
2021-04-22 03:32:05 +00:00
|
|
|
[[-1,0,1,2],[LSTRING(VehicleStartingLockState_AsIs), LSTRING(VehicleStartingLockState_RemoveAmbiguousLockState), LSTRING(VehicleStartingLockState_Locked), LSTRING(VehicleStartingLockState_Unlocked)], 0], // [values, titles, defaultIndex]
|
2018-02-10 02:32:14 +00:00
|
|
|
true, // isGlobal
|
2018-11-02 17:58:57 +00:00
|
|
|
{[QGVAR(vehicleStartingLockState), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|