CG, this just made me think of yet another thing to use Plys Mod for.
Keeping track of LOTS of animations and simplifying the scripting needed to do it.
Here's an example:
:state=10:setvar=Animation 2,setvar=ReturnState 10,state=100
:state=12:setvar=Animation 3,setvar=ReturnState 12,state=100
.
.
.
:state=100:setframe=%Animation,state=101
:state=101:incframe=%Animation
:state=101,frameatend=%Animation:state=%ReturnState
In that example, state 10 and 12 are called when you want to run animation 10 or 12 (Because it sets the "Animation" variable to those values), then it also sets a "ReturnState" variable which is the state that it will go to when the animation is over with.
I just thought that would be a pretty cool way of handling animations, especially if you had a lot of them. All you would need to do is set two variables to get the animation rolling... one variable for whichever animation you want played, and the other for what state the script should go to when the animation is over!!!
The one and only,
Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.