1 decade ago by Gamma
Hello everyone,
How would I be able to make an enemy take certain amounts of damage by certain weapons that the player uses. My player currently has 2 weapons, and both weapons deal different amounts of damage to ANY enemy entity, how do I make some enemies immune to some weapons or at least take less damage?
I'm guessing that would have to be incorporated into the enemies update function, am I correct?
How would I be able to make an enemy take certain amounts of damage by certain weapons that the player uses. My player currently has 2 weapons, and both weapons deal different amounts of damage to ANY enemy entity, how do I make some enemies immune to some weapons or at least take less damage?
I'm guessing that would have to be incorporated into the enemies update function, am I correct?