This doesn't look possible. I'm trying to make sure that when I open an application in my OS it won't open in another person's OS.
when clicked set [broadcasting v] to [1] broadcast [credits v] set [broadcasting v] to [0]and
when I receive [credits v] if <(broadcasting) = [1]> go to x: (0) y: (0) show endHow can I get this to work?
Last edited by wilsonbiggs (2012-02-03 22:04:58)
Offline
What do you need help with exactly?
Offline
It could be that it broadcasts "credits", and then changes broadcasting back to zero, before credits has a chance to run. Try using the "broadcast [credits] and wait" block. If the code in your last script is more complex than "go to x() y() and show" (and takes too much time), you could do this:
when I receive [credits v] if <(broadcasting) = [1]> broadcast [do credits stuff] endThat way, the broadcast is activated, and "broadcasting" is set back to zero as quickly as possible.
Last edited by MoreGamesNow (2012-02-03 22:40:19)
Offline
MoreGamesNow wrote:
It could be that it broadcasts "credits", and then changes broadcasting back to zero, before credits has a chance to run. Try using the "broadcast [credits] and wait" block. If the code in your last script is more complex than "go to x() y() and show" (and takes too much time), you could do this:
when I receive [credits v] if <(broadcasting) = [1]> broadcast [do credits stuff] endThat way, the broadcast is activated, and "broadcasting" is set back to zero as quickly as possible.
Thanks, your first suggestion worked. The second one would still cause problems.
Offline