mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fire - Adding option to disable screaming for units on fire (#8665)
This commit is contained in:
parent
c83caa63b4
commit
62ed899ecc
@ -3,7 +3,10 @@
|
|||||||
[QGVAR(burn), FUNC(burn)] call CBA_fnc_addEventHandler;
|
[QGVAR(burn), FUNC(burn)] call CBA_fnc_addEventHandler;
|
||||||
[QGVAR(playScream), {
|
[QGVAR(playScream), {
|
||||||
params ["_scream", "_source"];
|
params ["_scream", "_source"];
|
||||||
_source say3D _scream;
|
// only play sound if enabled in settings
|
||||||
|
if (GVAR(enableScreams)) then {
|
||||||
|
_source say3D _scream;
|
||||||
|
};
|
||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
["ace_settingsInitialized", {
|
["ace_settingsInitialized", {
|
||||||
|
@ -29,3 +29,12 @@
|
|||||||
],
|
],
|
||||||
true // isGlobal
|
true // isGlobal
|
||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
|
[
|
||||||
|
QGVAR(enableScreams), "CHECKBOX",
|
||||||
|
[LSTRING(Setting_EnableScreams), LSTRING(Setting_EnableScreams_Description)],
|
||||||
|
LSTRING(Category_DisplayName),
|
||||||
|
true,
|
||||||
|
false // isGlobal
|
||||||
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
|
@ -49,6 +49,12 @@
|
|||||||
<German>Benutzt einen Feuerschein-Effekt um die Intensität des Feuers bei Nacht zu verstärken.</German>
|
<German>Benutzt einen Feuerschein-Effekt um die Intensität des Feuers bei Nacht zu verstärken.</German>
|
||||||
<Polish>Używa efektu flary, aby zwiększyć jasność w nocy</Polish>
|
<Polish>Używa efektu flary, aby zwiększyć jasność w nocy</Polish>
|
||||||
</Key>
|
</Key>
|
||||||
|
<Key ID="STR_ACE_Fire_Setting_EnableScreams">
|
||||||
|
<English>Enable screams by units on fire</English>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ACE_Fire_Setting_EnableScreams_Description">
|
||||||
|
<English>Enables if units on fire will play the screaming sound</English>
|
||||||
|
</Key>
|
||||||
<Key ID="STR_ACE_Fire_Setting_DropWeapon">
|
<Key ID="STR_ACE_Fire_Setting_DropWeapon">
|
||||||
<English>Drop Weapons When on Fire</English>
|
<English>Drop Weapons When on Fire</English>
|
||||||
<Polish>Włącz wyrzucanie broni podczas płonięcia</Polish>
|
<Polish>Włącz wyrzucanie broni podczas płonięcia</Polish>
|
||||||
|
Loading…
Reference in New Issue
Block a user