Discuss Scratch

martinz_mit
Scratcher
7 posts

Limited number of broadcast messages

When I use “Broadcast message” block, I can add up to 6 different messages.

broadcastI disappear when I'm created
Note: the name of broadcast message isn't used in project.

I can add the seventh, but once I switch to another sprite, the seventh message disappears. Anyone knows why, and how to change the maximum if it's possible? Thanks for help!
codeman1044
Scratcher
1000+ posts

Limited number of broadcast messages

Interesting. This doesn't happen to me.
Try using a variable when broadcasting and using the receiver block to detect the name.
setvariableto1broadcastvariablewhenIreceive1
This works for any character(s) you want to be in the broadcast's name.
martinz_mit
Scratcher
7 posts

Limited number of broadcast messages

Thanks for reply
I saw another user reporting this issue in discussions but with nine max broadcast messages. I personally think it depends on some parameters of PC, but I am not sure anyway.

My browser / operating system: Windows NT 10.0, Firefox 67.0, No Flash version detected
Rocket-Flier
Scratcher
100+ posts

Limited number of broadcast messages

This might be because unused broadcasts automatically delete themselves. Try to drag out a block using the broadcast and hopefully the broadcast will stay.
whenIreceiveDelete This BroadcastdeletebroadcastDelete This Broadcast
codeman1044
Scratcher
1000+ posts

Limited number of broadcast messages

Rocket-Flier wrote:

This might be because unused broadcasts automatically delete themselves.
I forgot about that. This is true, which can both be annoying and useful, as clones receive broadcasts as well. So if I need to use a one time use broadcast, then I just create one, write the code, broadcast it, and delete it. I digress.
Dragging a broadcast block out into the editor will keep the broadcast as long as you don't remove that block.
side note: there is no delete broadcast block. That was a custom designed block.
RBerline
Scratcher
7 posts

Limited number of broadcast messages


if??=5thenstop this scriptelsechange??by1broadcastactivewait?secs


Then you set it too zero when you enter the project so

when green flag clicked
set??to0

then you pick a key to sent the message and put it on top on the first script. then you may enter what ever you want the message to do like this:

whenIreceiveactivemove1steps

Last edited by RBerline (Aug. 15, 2023 20:57:46)

psst1234
Scratcher
2 posts

Limited number of broadcast messages

whenclickedbroadcastwhenIreceivewhenIreceivebroadcast
psst1234
Scratcher
2 posts

Limited number of broadcast messages

I made a project and for some reason it wouldn’t let me make a broadcast block.

Powered by DjangoBB