Page 1 of 1

Enemy projectile that only hurts enemy ((FIXED))

Posted: Mon Jan 28, 2019 2:26 pm
by Niphura
I wanted to know if it is possible to make a projectile (launched by the enemy) that does not cause damage to the player, but that damages the enemy if the projectile come back to him (using a reflective flag).
i have a shield that use a reflective flag to make bounce enemy projectiles to them (and this cause them damage) but if i'm not using the shield to cover...the projectiles hurt me (and i don't want that)

so...what can i do?

Re: Enemy projectile that only hurts enemy (Question)

Posted: Mon Jan 28, 2019 2:34 pm
by Cherno
Sounds like the easiest way to do this wule be to make the projectile use a custom damage type that only causes harm to enemies and not the player.

Re: Enemy projectile that only hurts enemy (HELP)

Posted: Tue Feb 05, 2019 7:33 pm
by Niphura
I've used damage factor with a custom damage and it worked, thanks :)