Files
ACE3/addons/interaction/initSettings.inc.sqf
Timi007 0d1089ddcc Interaction - Add "pass grenade" interaction (#10463)
* Add "pass grenade" interaction

* Fix docs

* Correct spelling

* Change to one node and pass only currently selected grenade

* Handle currentThrowable returns empty array

* Add documentation

* Update addons/interaction/functions/fnc_canPassThrowable.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Handle throwables with ammo count greater 1

* Update single quotes to double quotes

* Switch target and player parameters & remove default values

* Update stringtable.xml

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-11-16 02:10:01 -08:00

81 lines
2.5 KiB
Plaintext

[
QGVAR(enableTeamManagement), "CHECKBOX",
[LSTRING(EnableTeamManagement_DisplayName), LSTRING(EnableTeamManagement_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(remoteTeamManagement), "CHECKBOX",
[LSTRING(remoteTeamManagement_DisplayName), LSTRING(remoteTeamManagement_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(enableMagazinePassing), "CHECKBOX",
LSTRING(PassMagazineSetting),
format ["ACE %1", LLSTRING(DisplayName)],
true
] call CBA_fnc_addSetting;
[
QGVAR(enableThrowablePassing), "CHECKBOX",
LSTRING(PassThrowableSetting),
format ["ACE %1", LLSTRING(DisplayName)],
true
] call CBA_fnc_addSetting;
[
QGVAR(disableNegativeRating), "CHECKBOX",
[LSTRING(DisableNegativeRating_DisplayName), LSTRING(DisableNegativeRating_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
false,
true,
{[QGVAR(disableNegativeRating), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting;
[
QGVAR(enableWeaponAttachments), "CHECKBOX",
["str_a3_cfgeditorcategories_edcat_weaponattachments0", LSTRING(weaponAttachments_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
true
] call CBA_fnc_addSetting;
[
QGVAR(enableGroupRenaming), "CHECKBOX",
[LSTRING(EnableRenameGroup_DisplayName), LSTRING(EnableRenameGroup_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
true,
true
] call CBA_fnc_addSetting;
[
QGVAR(enableAnimActions), "CHECKBOX",
LSTRING(SettingAnimActionsName),
format ["ACE %1", LLSTRING(DisplayName)],
true,
true,
{[QGVAR(enableAnimActions), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting;
[
QGVAR(interactWithTerrainObjects), "CHECKBOX",
["str_a3_modules_moduleomquest_defend_f_attributes_useterrainobject0", LSTRING(interactWithTerrainObjects_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
false,
true
] call CBA_fnc_addSetting;
[
QGVAR(interactWithEnemyCrew), "LIST",
[LSTRING(interactWithEnemyCrew_DisplayName), LSTRING(interactWithEnemyCrew_Description)],
format ["ACE %1", LLSTRING(DisplayName)],
[[0, 1, 2], [ELSTRING(common,Never), LSTRING(interactWithEnemyCrew_allowCSW), ELSTRING(common,Always)], 0],
true
] call CBA_fnc_addSetting;