wait till function will return value

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Search this Thread Display Modes
Old 04 April 2014   #1
wait till function will return value

Due to the simplest things are the most difficult so I have hard nut to crack.
Is it possible to make maxscrcipt wait until function will return some value. The problem is, max evaluate code one line by time and check current value however my function have interface and value I`m waiting for is up to what user will choice(function it self have ui). So my code have to wait before some value will be achieved and then code should evaluate on . I think it should look something like:

value=0
(call my function)myfunction value; wait till myfunction value>0, if myfunction value>0 then go on
I'm appreciated for any clue.
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:15 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.