i need blueprint that destroys actor after a number of hits , lets say the enemy needs 2 hits to be destroyed and the boss needs perhaps 20 hits to be destroyed , thanks in advance
Seems simple enough. Many ways you can do this. You can create a health variable in you actor to destroy BP and in your projectile create a damage variable and when the projectile hits the actor subtract the damage then check to see if the actor health is < or = 0 if yes, call the destroy actor node. You can also just have a variable in your actor called “number of hits” or something similar and every time a projectile hits it add 1 to the variable amount then check to see if it is equal to the amount you want to destroy the actor, if yes call the “destroy actor” node.