Discuss Scratch

epicman508
Scratcher
13 posts

< I receive block>

Would it be possible to make a boolean block that has< i receive> in it?

Like:
when green flag clicked
wait until <I recieve____>

end
AonymousGuy
Scratcher
1000+ posts

< I receive block>

READ THIS BEFORE SUGGESTING ANYTHING

jvvg wrote:

9. <broadcast [ ] received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.
MCAnimator3D
Scratcher
500+ posts

< I receive block>

Just make a variable for it. It could be a good idea for New Scratchers though.
Failord
Scratcher
1000+ posts

< I receive block>

MCAnimator3D wrote:

It could be a good idea for New Scratchers though.

Try to think of the problem with coding this, everybody. it's not realistic. not with the way boolean loops work. A block that would work could be
wait until broadcast [message1 v] received
Otherwise, it's a no-go.
xlk
Scratcher
100+ posts

< I receive block>

Actually, that's the one case where I suport that boolean. We can have clones wait until a broadcast is sent. It's not ambiguous, and straightforward.
Should be like this though:
wait until [message]
epicman508
Scratcher
13 posts

< I receive block>

AonymousGuy wrote:

READ THIS BEFORE SUGGESTING ANYTHING

jvvg wrote:

9. <broadcast [ ] received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.
When I read this, I didn't understand what it meant. Sorry!
joshuaho
Scratcher
1000+ posts

< I receive block>

epicman508 wrote:

When I read this, I didn't understand what it meant. Sorry!

This block:

<broadcast message [ message 1 v] received>

will not be implemented. That is what it means.

Last edited by joshuaho (Dec. 20, 2013 19:59:58)

Powered by DjangoBB