Animation Restraints
I'm going to throw this out there because it's bugging me and I know there must be a simple answer.
I have an enemy character that animates differently depending on the state or position of the main character. Problem is, the position of the main character can cause 2 of the attributes (states) of the enemy character to be true at the same time, causing the enemy character to run 2 of its animation sequences at the same time.
What's the best way to restrain the enemy character to using only one animation at a time (basically, the first one that's triggered) before doing a different animation? I'm sure timers are involved here but I want to make sure I do it right.
I have an enemy character that animates differently depending on the state or position of the main character. Problem is, the position of the main character can cause 2 of the attributes (states) of the enemy character to be true at the same time, causing the enemy character to run 2 of its animation sequences at the same time.
What's the best way to restrain the enemy character to using only one animation at a time (basically, the first one that's triggered) before doing a different animation? I'm sure timers are involved here but I want to make sure I do it right.
Comments
when the attribute animate is false and the attribute you have is true, animate the enemy
Calvin
Hope that helps kipper
hope that helps. kip