This command will set the speed of the specified animation. The speed is adjusted by multiplying the elapsed time with the given factor.
If the animation is 0, then this command will set the speed of the avatars animation cycle.
If the animation ID is valid and it is currently being executed, then this command will set the speed of the execution.
Setting Cycle Speed
#Cycle animation 2
avatar.state(2)
#Triple the speed of the animation cycle
avatar.setAnimationSpeed(0,3)
Setting Action Speed#Execute animation 5
avatar.execute(5)
#Pause the execution of animation 5
avatar.setAnimationSpeed(5,0)