Hi Claus_N,
I spend some of my time,(to learn from your script) and to make some
models,animations for my game.
Now i need some more advanced functions in your script.
So,here is what i need:
I made some "intermediate" animations that i want to put in beetwen 2 animatons.
For example when entity play stand animation,
i pres "q" button and entity start to play(&loop) "siting" animation.
But that switch from stand to sit is so quick and unnatural,so i made
some extra animation that "blending" from stand to sit.

When i pres "q" i need to put that "blend" animation to play 1x,
then "sit" animation loop.
When relesed "q" first some other "blend" animation,then stand animation play.
It would be nice some sounds atached to each of that "blend" animation.

P.S. There is some problem in script.
When i press "q" anim for "q" start,sound for "q" start.That`s ok.
But, when press "q" and not relesed, and then press "e" = anim for "e" play,
but sound still play for "q" and not for "e" button.
I`m not sure that i explained correctly,so please check that in your test level.
When you checked this i`ll have more advanced question.
For example:
We have 6 keys(q,w,e,a,s,d) and "idle" animation for our entity.
Press "q" ="blend" from "idle" to "q" 1x,then play&loop "q" animation.
Press "q" then "e" ="blend" from "q" to "e" 1x,then play&loop "e" animation.
Press "q" then "w" ="blend" from "q" to "w" 1x,then play&loop "w" animation.
Press "w" then "q" ="blend" from "w" to "q" 1x,then play&loop "q" animation.
Relese "q" = "blend" from "q" to "idle" 1x, then play&loop "idle" animation...
...and all combination for ech key
I use simple frame(vertex) animation for my entities so i`ll need this.
Thank you in advance.
Cheers