Notifications
Clear all

[Closed] scripts running in the background

Hi all does anyone know how to make a script run constantly in the background? Is this even possible? Also does anyone know where i can learn more about transform matrixes. I was reading a thread about rotating an objects pivot and wonderd where i could find more info on the subject.

regards

Nebille

3 Replies

I think what you’ re after is a callback function. Check them out in the reference, they’re quite easy to set up. Basically a callback function works by reacting to a a particular event, like a mouse click, a keyframe, a file save and so forth. These are active all the time until you terminate them.

It depends on what you need it to do but for most of the cases you can do it with callbacks really easy.

you can also hack your own callbacks (if max dosn’t provided them) by using the “Timer” item in a rollout outside the screen space. to many timers can slow max down alot. but they are great for dynamicly updating interfaces. i while back i used a timer to create a “on material editor slection” chage call back.