Flashbangs - Make event radius match effect radius

This commit is contained in:
PabstMirror 2015-12-04 15:16:17 -06:00
parent deb87ef968
commit 43a168f0b9

View File

@ -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);
};