animate

So this might sound outrageously dumb, but I've created an animation in Max and want it to start playing when I run my MaxScript.....I'm presuming this is a really easy command that I'm missing. Any help would be much appreciated.

Thanks!

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
br0t's picture

No it is not dumb! I had to

No it is not dumb! I had to think about that and actually did not know :D
For simple things like this you can always try to enable the macrorecorder of the maxcsript listener and see what it prints out when you click on the play button:

actionMan.executeAction 0 "50021"  -- Time: Play Animation

So you could use that, but that is kind of cryptic. Better would be to use the function that is exposed for this

playAnimation

which you can find in the MXS docs when you search for "Time Control"

Cheers

Never get low & slow & out of ideas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.