***This is not a problem with EAI's TF341 pack - it's only about scripting***
I am trying to script one of EAI's characters with sitting animations. Basically the character is sitting, stands up, stands idle, sits down again.
I had 2 approches to script this which both don't work
This one gets the character stuck in state 51, repeating animation 137 endlessly
:state=0:state=1
:state=1:animate=137,etimerstart,state=2
:state=2,etimergreater=2000:state=51
:state=51:animate=135,state=52
:state=52,frameatend=135:animate=1,etimerstart,state=53
:state=53,etimergreater=2000:animate=136,state=54
:state=54,frameatend=136:animate=137,state=1
;End of Script
This one doesn't play the animations to their full length, instead one is "jumping" into the other:
:state=0:state=1
:state=1:animate=137,etimerstart,state=2
:state=2,etimergreater=2000:state=51
:state=51:animate=135,state=52
:state=52:animate=1,etimerstart,state=53
:state=53,etimergreater=2000:animate=136,state=54
:state=54:animate=137,state=1
;End of Script
Any help is appreciated
In case you find my grammar and spelling weird ---> native German speaker ^^