animindex ++;
ChangeAnimation("Event Actor", getAnimName(animindex), FORWARD);
if (animindex >= 4)
{
DestroyActor("Event Actor")// or whatever script you want
}
DestroyActor("Player");
ChangeAnimation("Player", "Die", FORWARD);
DestroyActor("Player");
ChangeAnimation("Player", "Die", FORWARD);
if (animindex != health)
{
ChangeAnimation("Event Actor", getAnimName(health), FORWARD);
}
Users browsing this forum: No registered users and 1 guest