ACE3/addons/viewrestriction/initSettings.inc.sqf
BrettMayson 464ab0cefb
Tools - Add HEMTT SQF support and fix commas are not semicolons (#9663)
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-12-07 03:20:47 +00:00

65 lines
2.1 KiB
Plaintext

[
QXGVAR(mode),
"LIST",
[LSTRING(Mode), LSTRING(ModeDesc)],
format ["ACE %1", LLSTRING(ModuleDisplayName)],
[[0, 1, 2, 3], [LSTRING(Disabled), LSTRING(FirstPerson), LSTRING(ThirdPerson), LSTRING(Selective)], 0],
true,
{[QGVAR(mode), _this] call EFUNC(common,cbaSettings_settingChanged)},
true
] call CBA_fnc_addSetting;
[
QXGVAR(modeSelectiveFoot),
"LIST",
[LSTRING(ModeSelectiveFoot), LSTRING(ModeSelectiveFootDesc)],
format ["ACE %1", LLSTRING(ModuleDisplayName)],
[[0, 1, 2], [LSTRING(Disabled), LSTRING(FirstPerson), LSTRING(ThirdPerson)], 0],
true,
{[QGVAR(modeSelectiveFoot), _this] call EFUNC(common,cbaSettings_settingChanged)},
true
] call CBA_fnc_addSetting;
[
QXGVAR(modeSelectiveLand),
"LIST",
[LSTRING(ModeSelectiveLand), LSTRING(ModeSelectiveLandDesc)],
format ["ACE %1", LLSTRING(ModuleDisplayName)],
[[0, 1, 2], [LSTRING(Disabled), LSTRING(FirstPerson), LSTRING(ThirdPerson)], 0],
true,
{[QGVAR(modeSelectiveLand), _this] call EFUNC(common,cbaSettings_settingChanged)},
true
] call CBA_fnc_addSetting;
[
QXGVAR(modeSelectiveAir),
"LIST",
[LSTRING(ModeSelectiveAir), LSTRING(ModeSelectiveAirDesc)],
format ["ACE %1", LLSTRING(ModuleDisplayName)],
[[0, 1, 2], [LSTRING(Disabled), LSTRING(FirstPerson), LSTRING(ThirdPerson)], 0],
true,
{[QGVAR(modeSelectiveAir), _this] call EFUNC(common,cbaSettings_settingChanged)},
true
] call CBA_fnc_addSetting;
[
QXGVAR(modeSelectiveSea),
"LIST",
[LSTRING(ModeSelectiveSea), LSTRING(ModeSelectiveSeaDesc)],
format ["ACE %1", LLSTRING(ModuleDisplayName)],
[[0, 1, 2], [LSTRING(Disabled), LSTRING(FirstPerson), LSTRING(ThirdPerson)], 0],
true,
{[QGVAR(modeSelectiveSea), _this] call EFUNC(common,cbaSettings_settingChanged)},
true
] call CBA_fnc_addSetting;
[
QXGVAR(preserveView),
"CHECKBOX",
[LSTRING(SettingPreserveViewName), LSTRING(SettingPreserveViewDesc)],
format ["ACE %1", LLSTRING(ModuleDisplayName)],
false,
false,
LINKFUNC(switchPreserveView)
] call CBA_fnc_addSetting;