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

#1 2009-08-01 15:49:36

Rikatah
Scratcher
Registered: 2009-07-31
Posts: 3

Broadcasting questions

Ok. I'm not very good at explaining things, so I'll try my best...
you know how with all the broadcasting script peice thingies, there's a little arrow, and when you click, a tab comes out that says "new", or a list of words, then "new"? Well, I'm trying to make a virtual pet thing, and I want the player to be able to click a sprite, then to make it so the variables change, then the main "pet" to say something. I know how to work the variables & speech, but i just don't get how to make the word from the broadcast tab connect to the sprite.

Offline

 

#2 2009-08-01 16:00:30

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Broadcasting questions

Hm...

So you want when it is clicked to broadcast something to the sprite?

Last edited by The-Whiz (2009-08-01 16:00:50)

Offline

 

#3 2009-08-01 16:02:28

Rikatah
Scratcher
Registered: 2009-07-31
Posts: 3

Re: Broadcasting questions

yeah. that sums most all of it up very nicely  smile

Offline

 

#4 2009-08-01 16:12:28

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Broadcasting questions

in clicked sprite:
when sprite clicked
broadcast [ X1 ]

in main pet:
when I receive [ X1 ]
say [ X2 ]

replace X1 and X2 with whatever you want  big_smile

Offline

 

#5 2009-08-01 21:22:31

Rikatah
Scratcher
Registered: 2009-07-31
Posts: 3

Re: Broadcasting questions

thanks; I've been confused about this for a while  smile

Offline

 

Board footer