I'm attempting to create my own 'input' boxes, and I want to use them all over as a replacement to the default input() proc, however.. I know input() does a special thing that I'm not too sure how to go about.
It pauses the current proc until input() returns.
So far what I've thought of is calling a proc like..
gui_input(parameters)
Then starting a loop which checks if the window is still visible on the screen (whether they've closed it, hit enter which returns the input, or whatever) and then 'unpauses' if not, returning the value which was retrieved.
What do you guys think?
Then just loop that, set it when the window has been opened, just a Close button on the window then you can unpause and hide the window in code.