ACE3/addons/gforces/initSettings.sqf
Filip Maciejewski 7c93ee9ed3
GForces - Add forces strength coefficient setting (#7750)
* Move GForce settings to CBA Settings

* Add GForce coefficient setting

* Fix typo

* Restore ACE Settings class and mark as moved to SQF

* Apply translation suggestions from code review

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
2020-06-12 19:06:03 -05:00

21 lines
559 B
Plaintext

[
QGVAR(enabledFor),
"LIST",
[LLSTRING(enabledFor_displayName)],
LLSTRING(Category),
[[0, 1, 2], [LELSTRING(Common,Disabled), LLSTRING(enabledFor_onlyAircraft), LELSTRING(Common,Enabled)], 1],
true,
{[QGVAR(enabledFor), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting;
[
QGVAR(coef),
"SLIDER",
[LLSTRING(Coefficient_DisplayName), LLSTRING(Coefficient_Description)],
LLSTRING(Category),
[0, 1, 1, 0, true],
true
] call CBA_fnc_addSetting;