Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / MEL / Running MEL script at a given animation frame?
  RSS 2.0 ATOM  

Running MEL script at a given animation frame?
Rate this thread
 
49365
 
Permlink of this thread  
avatar
  • Steve A.
  • Posted: 12 November 2010 06:01 AM
  • Total Posts: 1
  • Joined: 12 November 2010 01:52 PM

This is probably very simple, but I can’t seem to find it anywhere. I just want to execute some arbitrary MEL script once the animation reaches a certain frame. Is this possible?



Replies: 0
avatar
  • THNKR
  • Posted: 12 November 2010 08:29 AM

use an expression

if (frame == 29) {
// statement goes here
}



Replies: 0