Jaori_Daevans Posted December 24, 2019 (edited) I was trying to make a weapon that shoots an explosive projectile. I know you can add "flags" so the projectile can have different properties and i was wondering if there is a flag or something to make the explosion of the projectile hurt enemies but not the player who shot it (sorry if my english is not that good) Edited December 24, 2019 by Jaori_Daevans 0 Share this post Link to post
1 Bryan T Posted December 29, 2019 Here's an example of the stock rocket that doesn't hurt the player. ACTOR SafeRocket : Rocket { States { Spawn: MISL A 1 Bright Loop Death: MISL B 8 Bright A_Explode(128,128,0) //Here's the change. By setting the flag section to 0 "XF_HURTSOURCE " is disabled MISL C 6 Bright MISL D 4 Bright Stop } } Check this for more details - https://zdoom.org/wiki/A_Explode 0 Share this post Link to post
0 Jaori_Daevans Posted January 14, 2020 It worked! sorry for the late response, i didn't have the time to check it out, thank you! 0 Share this post Link to post
I was trying to make a weapon that shoots an explosive projectile.
I know you can add "flags" so the projectile can have different properties
and i was wondering if there is a flag or something to make the explosion of the projectile hurt enemies but not the player who shot it
(sorry if my english is not that good)
Edited by Jaori_DaevansShare this post
Link to post