ACE3/addons/ui/initSettings.sqf
Filip Maciejewski d0fd45e220
UI - Infantry speed indictator (#8384)
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-05 18:47:24 +02:00

24 lines
625 B
Plaintext

if (productVersion select 4 == 'Development') then {
[
QGVAR(devWatermark),
"CHECKBOX",
LSTRING(devWatermark),
"ACE " + LLSTRING(Category),
true
] call CBA_fnc_addSetting;
};
[
QGVAR(enableSpeedIndicator),
"CHECKBOX",
[LSTRING(EnableSpeedIndicator), LSTRING(EnableSpeedIndicator_Description)],
"ACE " + LLSTRING(Category),
true,
true, {
if (!_this) then {
private _speedIndicator = uiNamespace getVariable [QGVAR(speedIndicator), controlNull];
_speedIndicator ctrlSetText "";
};
}
] call CBA_fnc_addSetting;