mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Grenades - Add 3 more sounds to flashbang detonations (#9982)
* Add 3 more sounds to flashbang detonations * Update addons/grenades/functions/fnc_flashbangThrownFuze.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
52762c1e62
commit
99d7e4d57b
@ -19,7 +19,8 @@ params ["_projectile"];
|
||||
TRACE_1("params",_projectile);
|
||||
|
||||
if (alive _projectile) then {
|
||||
playSound3D ["A3\Sounds_F\arsenal\explosives\grenades\Explosion_HE_grenade_01.wss", _projectile, false, getPosASL _projectile, 5, 1.2, 400];
|
||||
private _soundFile = format ["A3\Sounds_F\arsenal\explosives\grenades\Explosion_HE_grenade_0%1.wss", floor (random 4) + 1];
|
||||
playSound3D [_soundFile, _projectile, false, getPosASL _projectile, 5, 1.2, 400];
|
||||
|
||||
["ace_flashbangExploded", [getPosASL _projectile]] call CBA_fnc_globalEvent;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user