I'm having a hard time using DONTHURTSHOOTER correctly. You see, I have a friendly monster that shoots out projectiles, and the gun he uses can be used by the player. The projectiles are simply inherited from existing ones, like so:
Code: Select all
John[projectile] : [existing projectile]
{
Speed 25
Damage 50
}
When I had the player shoot the same projectiles, I did this:
Code: Select all
PJGN B 0 A_FireCustomMissile ("John[whatever]")
I did one for the rocket, but I don't want the splash damage of it to hurt the player, so I put DONTHURTSHOOTER on the actor replacing the rocket, but it didn't work, so I tried putting it on the weapon, and it still didn't work. How am I supposed to make it so the splash damage doesn't affect the player?
Also, I don't the player fired ones to use ammo, how would I define that? I usually just type in the projectile name, would I have to type in all the other stuff to get to usenoammo?