mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Flashbangs - Make event radius match effect radius
This commit is contained in:
parent
deb87ef968
commit
43a168f0b9
@ -20,8 +20,7 @@ params ["_projectile"];
|
||||
if (alive _projectile) then {
|
||||
playSound3D ["A3\Sounds_F\weapons\Explosion\explosion_mine_1.wss", _projectile, false, getPosASL _projectile, 5, 1.2, 400];
|
||||
|
||||
private "_affected";
|
||||
_affected = _projectile nearEntities ["CAManBase", 50];
|
||||
private _affected = _projectile nearEntities ["CAManBase", 20];
|
||||
|
||||
["flashbangExplosion", _affected, [_projectile]] call EFUNC(common,targetEvent);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user