- Code: Select all
if(animindex==1)
ChangeAnimation("Event Actor", "walkl", FORWARD);
else
ChangeAnimation("Event Actor", "walkr", FORWARD);
when changed to this it works fine
- Code: Select all
if(animindex==getAnimIndex("walkr"))
ChangeAnimation("Event Actor", "walkl", FORWARD);
else
ChangeAnimation("Event Actor", "walkr", FORWARD);
I don't understand what the problem is walkr is the 1 animation, the 0 is player. Guess it's just a bug?