...they are:
1) [wait until I receive____↓]
2) [stop all of this sprite's scripts]
That last one could probably be worded better.
SUPPORTERS
Of both:
efisher82
KrIsMa
laptop97
my-chemical-romance
schnrfl
Of #2 only:
Greenatic
Last edited by efisher82 (2011-10-11 20:10:12)
Offline
support on both, 1 can be done now with variables, but it's still handy to have it otherwise
Offline
my-chemical-romance wrote:
support on both, 1 can be done now with variables, but it's still handy to have it otherwise
Yes, I know [wait until I receive_____] can be done with a true/false variable, but it's much easier this way.
Offline
and a clear all of sprite block too
Offline
I agree with the second, but not the first. How would it be different from the hat block?
Offline
efisher82 wrote:
Greenatic wrote:
I agree with the second, but not the first. How would it be different from the hat block?
if the message was received while the script was not running or was running a different part, nothing would happen.
Workaround:
When Green Flag Clicked:
set variable to 0.
When I receive [broadcast]:
if <(variable) = 0> {
set variable to 1.
SCRIPTS HERE
set variable to 0.
}
Offline
Greenatic wrote:
efisher82 wrote:
Greenatic wrote:
I agree with the second, but not the first. How would it be different from the hat block?
if the message was received while the script was not running or was running a different part, nothing would happen.
Workaround:
When Green Flag Clicked:
set variable to 0.
When I receive [broadcast]:
if <(variable) = 0> {
set variable to 1.
SCRIPTS HERE
set variable to 0.
}
Read this from above
efisher82 wrote:
my-chemical-romance wrote:
support on both, 1 can be done now with variables, but it's still handy to have it otherwise
Yes, I know [wait until I receive_____] can be done with a true/false variable, but it's much easier this way.
Because workarounds aren't as good!
Last edited by efisher82 (2011-10-11 18:38:00)
Offline
efisher82 wrote:
Because workarounds aren't as good!
Not by much. I would just do the workaround. Sorry, but I don't support.
(The first one, I mean )
Last edited by Greenatic (2011-10-11 19:34:57)
Offline
Greenatic wrote:
efisher82 wrote:
Because workarounds aren't as good!
Not by much. I would just do the workaround. Sorry, but I don't support.
(The first one, I mean)
Variables can be glitchier, too. At least in my experience.
Offline