ACE3/addons/pylons/initSettings.inc.sqf

67 lines
1.4 KiB
Plaintext
Raw Normal View History

[
QGVAR(enabledFromAmmoTrucks),
"CHECKBOX",
[LSTRING(EnabledFromAmmoTrucks), LSTRING(EnabledFromAmmoTrucks_description)],
LSTRING(Category_Pylons),
[true],
true
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(enabledForZeus),
"CHECKBOX",
[LSTRING(EnabledForZeus), LSTRING(EnabledForZeus_description)],
LSTRING(Category_Pylons),
[true],
true
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(rearmNewPylons),
"CHECKBOX",
[LSTRING(RearmNewPylons), LSTRING(RearmNewPylons_description)],
LSTRING(Category_Pylons),
[false],
true
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(requireEngineer),
"CHECKBOX",
[LSTRING(RequireEngineer), LSTRING(RequireEngineer_description)],
LSTRING(Category_Pylons),
[false],
true
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(requireToolkit),
"CHECKBOX",
[LSTRING(RequireToolkit), LSTRING(RequireToolkit_description)],
LSTRING(Category_Pylons),
[true],
true
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(searchDistance),
"SLIDER",
[LSTRING(SearchDistance), LSTRING(SearchDistance_description)],
LSTRING(Category_Pylons),
[5, 50, 15, 0],
true,
{
params ["_searchDistance"];
GVAR(searchDistanceSqr) = _searchDistance ^ 2;
}
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(timePerPylon),
"SLIDER",
[LSTRING(TimePerPylon), LSTRING(TimePerPylon_description)],
LSTRING(Category_Pylons),
[1, 10, 5, 0],
true
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;