There's already 2 wait blocks that work in most situations like this:
[blocks]<wait( 5 )secsc>[/blocks]
Waits a set amount of time and the continues the rest of the script.
[blocks]<wait until>[/blocks]
The more useful of the two, waits until whatever action is inside of it is complete and then continues the script. Eg:
[blocks]<wait until><touching color[ white [/blocks]
[blocks]<wait until><( <{ Variable }> <=> 10 )>[/blocks]
Etc:
A wait until I recieve (wait for broadcast) block could be very useful though!
Last edited by 06dknibbs (2010-11-04 10:24:14)
Offline