Closed AngelAbov3 closed 6 days ago
a way you can do this thing is:
Guid mortarGunGuid = new Guid("d6424d034309417dbc5f17814af905a8");
if (pl.player.equipment.asset.GUID == mortarGunGuid)
{
shouldAllow = false;
return;
}
inside EventFunctions
' OnBarricadeDamaged
method
That doesn't work because the player can get off the mortar in between the time it's launched and hits. We have a way to track projectiles origins which we use for death messages.
I see, thanks for letting me know it won't work
That doesn't work because the player can get off the mortar in between the time it's launched and hits. We have a way to track projectiles origins which we use for death messages.
Can't find the original discussion but this was deemed doable I think.
Insurgency Damage Filter.
Can do Damage.
Can't do Damage.