mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
7c93ee9ed3
* 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>
21 lines
559 B
Plaintext
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;
|