Enemy Health deduction
bhaktaraj
Member, PRO Posts: 29
I've an enemy. And what I want is when I hit the enemy two times. it should destroy.
Here is what i did. created two actor
integer actor: enemy health : value 10
integer actor: bullet hit count
And when the bullet hit the enemy I minus the "5" from the value.
and when the health become "0" I destroy the enemy.
but it is destroying all the enemy from the game and never spawning back the enemy.
"PLEASE HELP THANKING YOU GUYS IN ADVANCE"
Here is what i did. created two actor
integer actor: enemy health : value 10
integer actor: bullet hit count
And when the bullet hit the enemy I minus the "5" from the value.
and when the health become "0" I destroy the enemy.
but it is destroying all the enemy from the game and never spawning back the enemy.
"PLEASE HELP THANKING YOU GUYS IN ADVANCE"
Answers
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS