Is there any way to use a broadcast to temporarily stop another script, for say 3 seconds, and then resume it?
Thanks for helping
Offline
There's a way, but it's a bad habit: Have a broadcast receiver, and have it set a timer. Have another script:
forever repeat until <not<(time) = [0]>> do stuff end wait until <(time) = [0]> end
Last edited by bobbybee (2012-03-13 19:54:31)
Offline
bobbybee wrote:
There's a way, but it's a bad habit: Have a broadcast receiver, and have it set a timer. Have another script:
forever repeat until <not<(time) = [0]>> do stuff end wait until <(time) = [0]> end
This would work well
Offline
I would use this:
set [running? v] to [1] forever if <(running?) = [1]> do stuff when I receive [pause v] set [running? v] to [0] wait (3) secs set [running? v] to [1]
Offline