if(attackvar == 1)
{
health = health - 10;
}
ChangeAnimation("EventActor","PunchAnimation",FORWARD);
attack=1;
ChangeAnimation("EventActor","StopAnimation",FORWARD);
attack=0;
if(Actor1.attack==1)
{
ChangeAnimation("EventActor","HitAnimation,FORWARD);
power-=3;
}
ChangeAnimation("EventActor","StopAnimation",FORWARD);
Users browsing this forum: No registered users and 1 guest