Hello there again team!!
I have an animated 3D model with 2 animations:
IDLE or STAND (frames: 0 to 400)
TALKING (frame 0 to 950)
And with a version of SimpleAnimation.lua like this:
Script.Speed=4.0--float
Script.Sequence="0"--string
Script.Anim2Speed=4.0--float
Script.Anim2Sequence="0"--string
function Script:Start()--in
self.entity:PlayAnimation(self.Sequence,self.Speed/100.0,1)
end
function Script:CambiaAnim()--in
self.entity:PlayAnimation(self.Anim2Sequence,self.Anim2Speed/100.0,1)
end
With this script I can change the animation ok.
But I need change animation from IDLE to TALKING and TALKING animation start from frame 450.
Can I change the animation of my model starting always from frame 450? Is possible?
Thank you very much!!