hardcore_gamer Posted February 10, 2019 I am creating a custom weapon that uses a custom projectile, but the thing is that I want the player to be immune to the splash damage from it. I am using the "A_Explode" action function but on the zdoom page for it I don't see any option for making it ignore the player, but only for harming him (which the page says it does by default anyway). How can I make the splash damage inflict damage to monsters only? 0 Share this post Link to post
snapshot Posted February 10, 2019 Have you tried changing the Damage type done by the A_Explode and making that damage type not harm the player using DamageFactor? Custom Damage type DamageFactor 0 Share this post Link to post
Empyre Posted February 10, 2019 What tempdecal.wad said will work, but you could also set the flags in A_Explode to 0, which would clear the XF_HURTSOURCE flag, which is set by default. 0 Share this post Link to post