here is part of my code where I think the problem is;
- Code: Select all
if(ENEMYLIFE<=0)
{
if(ENEMYDIR==1)
{
ChangeAnimation("Event Actor", "Knight1death2_left", FORWARD);
EventDisable("Event Actor", EVENTTIMER);
}
else
if(ENEMYDIR==0)
{
ChangeAnimation("Event Actor", "Knight1death1_right", FORWARD);
EventDisable("Event Actor", EVENTTIMER);
}
}
I have it set up as, ENEMYDIR=1; is facing left. and ENEMYDIR=0; is facing right.
when ever he dies, it will only act on the first one(if(ENEMYDIR==1))...
any help would be GREATLY aprreciated..
+1 Also