Enemy Health deduction

bhaktarajbhaktaraj Member, PRO Posts: 29
edited June 2013 in Working with GS (Mac)
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"

Answers

Sign In or Register to comment.