Thanks Colin!
Many thanks Michael, that help was neccessary. I didn't think of the WaitForDialogDone() function to actually return a boolean value. I thought it just waits and then continues.
I will use
code: if ( WaitForDialogDone() ) makeExternalThread();
in the next update of the script.
|