ACE3/addons/winddeflection/initSettings.sqf
GhostIsSpooky 998f86f034
General - Move to CBA Settings (#8461)
* first pass

* second pass

* third pass

* final pass

* missing commas

* newlines

* switch to cba eventhandler

* newlines, formatting

* laser - movedToSQF

* add logging to ace_common_fnc_cbaSettings_loadFromConfig

* Update initSettings.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-11 15:48:30 -05:00

26 lines
645 B
Plaintext

private _category = format ["ACE %1", localize LSTRING(windDeflection_DisplayName)];
[
QGVAR(enabled), "CHECKBOX",
[LSTRING(deflectionModule_DisplayName), LSTRING(deflectionModule_Description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(vehicleEnabled), "CHECKBOX",
[LSTRING(vehicleEnabled_DisplayName), LSTRING(vehicleEnabled_Description)],
_category,
true,
1
] call CBA_fnc_addSetting;
[
QGVAR(simulationInterval), "SLIDER",
[LSTRING(simulationInterval_DisplayName), LSTRING(simulationInterval_Description)],
_category,
[0, 0.2, 0.05, 2],
1
] call CBA_fnc_addSetting;