dying in multiple hits
Posted: Fri Oct 05, 2007 12:02 pm
Ok, im making a game about Halo and the grunts die 1 hit. I want my arbiter to die infive hits and the brutes to die in 3. How do i do this?
heatlh = 3;
health-=1;
if(health==0)
{//die action}
EnemyHealth--;
if(EnemyHealth==0)
{
ChangeAnimation("EventActor", "Die", FORWARD);
Score.textNumber=Score.textNumber+10; //etc...
}
elite wrote:collision, "get hit"?
==Kalladdolf== wrote:ooops, sorry!