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
  04 April 2014
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:

(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
Society of Digital Artists

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

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

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