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 3ds® Max® / MaxScript / sleep in MaxScript
  RSS 2.0 ATOM  

sleep in MaxScript
Rate this thread
 
10665
 
Permlink of this thread  
avatar
  • m17
  • Posted: 08 April 2008 05:14 AM
  • Total Posts: 14
  • Joined: 13 January 2008 01:17 PM

Is there some FN like EventsProcessed for waiting all things done, but not pause

seems “break” and “sleep” just pause events process , but not wait all script done



http://17de.com/x3d/
http://x3d.spaces.live.com/
http://vr.mingxiaoling.org/

Replies: 0
avatar

I suppose you could use a timer to check if things are done. Make your check
is simple so you aren’t introducing “lag” into your processing run.
The timer runs independent of order of execution...just make sure
you trap it so it doesn’t fire prematurely.



Replies: 0
avatar
  • 3Doomer
  • Posted: 30 September 2011 04:22 AM

Hi, I can’t find an answer for so long..

I’ve got script that runs as usual and then uses few DotNet BackgroundWorker threads for some hard job...after finishing these jobs(I can track this through the global variable) script has to continue the work, as after common command execution.
But it goes further right after threads start...and their result comes too late :(
Any ideas?



Replies: 0