Here's my idea for a block:
[blocks]<wait until> further notice[/blocks]
It would just wait for anything to happen. It would help me a lot.
Offline
[blocks] pause <stop script>[/blocks]
another idea
Offline
what i meant was "pause script"
Offline
When do "pause" and "wait until further notice" continue?
Do they do the same as "wait until <mouse down>"?
What event (or set of events) are they waiting for?
Offline
kevin_karplus wrote:
When do "pause" and "wait until further notice" continue?
Do they do the same as "wait until <mouse down>"?
What event (or set of events) are they waiting for?
I need to be able to "pause script" at any time and then be able to resume from wherever I paused. When I "stop script", starting again takes me back to the beginning of the script.
Maybe I could make some clickable buttons, then by making my one long script into several shorter ones, "beginning" after a pause wouldn't necessarily take me all the way back but to alternative "start" points along the way.
What other ways could I resume from where I left off? For example, would there be some kind of "sensing" control that could record where the "pause event" happened...?
(I'm working on a graph of # of passengers over the course of a day - I'll post it in case it helps explain my question)
Thanks!
Tom
Offline
Ah, I think I see what you want.
You can fake it with a variable:
set I_am_paused to 1
wait until I_am_paused < 1
continue with
set I_am_paused to 0
You'll need one variable for each different pause condition.
Offline