Main Menu |
---|
|
→ PlayerModel
Links |
---|
Freezes an animation at a specific animation frame on the Model widget.
myModel:FreezeAnimation(animationID, [variationID], animationFrame);
Arguments
- animationID
- Number - An animation ID
- variationID (optional)
- Number - The variation ID in the animation, when a model has more than one animation for an animation ID. Defaults to 0.
- animationFrame (optional)
- Number - The frame to freeze in the animation. A value of -1 will freeze at the end of the animation. Defaults to 0.
Example
myModel:FreezeAnimation(60, 0, 55); -- Freeze the talking animation at the frame 55
Patch changes
Patch 7.0.3 (2016-07-19): Added.