From Mod Wiki
string state -- Name of the new state. integer blendFrames -- Number of frames to blend the next animation in with.
- An error will be thrown if the new state cannot be found.
Changes the script state in the same manner as setState, and also sets up the blend time for the next animation.