This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-08-14 08:12:00

2d3d
Scratcher
Registered: 2008-08-12
Posts: 5

Receiving

I'm trying to get a spite to say something, then wait until it receives a broadcast from another sprite, but the blocks don't fit together! Does anyone know a way around this?

Offline

 

#2 2008-08-14 09:14:35

2d3d
Scratcher
Registered: 2008-08-12
Posts: 5

Re: Receiving

It's OK I've worked it out.

Offline

 

#3 2008-08-14 13:29:11

bigB
Scratcher
Registered: 2007-06-09
Posts: 100+

Re: Receiving

how about this
Say (Hello)
wait until (variable1 = 1)
do action.

Then the other sprite has the scripts,
when green flag pressed set variable1 to 0.
then when it wants to broadcast it just sets the variable to 1 waits a short amount of time and sets it back to 0.


http://scratch.mit.edu/projects/bigB/260981 Draw to Text
http://scratch.mit.edu/projects/bigB/181829 3D Stunt Flyer

Offline

 

Board footer