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

#1 2012-03-24 11:38:43

SplatKirby
Scratcher
Registered: 2012-03-22
Posts: 100+

WHEN Block

Why don't they put a when block instead of:

broadcast [suchandsuch]


http://gifninja.com/animatedgifs/205654/well-this-is-awkward.gif

Offline

 

#2 2012-03-24 15:07:48

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: WHEN Block

Explain this more please...
The broadcast block is there to pair with the when I receive block.

Offline

 

#3 2012-03-24 15:21:30

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Offline

 

#4 2012-03-24 16:39:23

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: WHEN Block

What?


Why

Offline

 

#5 2012-03-24 17:09:46

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: WHEN Block

What do you mean?
Are there not the hat blocks already, which serve as triggers?


http://trinary.tk/images/signature_.php

Offline

 

#6 2012-03-25 12:14:37

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: WHEN Block

Do you mean the
when <> is true
block? I'd like that!

Offline

 

#7 2012-03-25 18:59:09

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: WHEN Block

scimonster wrote:

Do you mean the
when <> is true
block? I'd like that!

Isn't that the same as "forever if" though?


Why

Offline

 

#8 2012-03-25 20:25:33

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: WHEN Block

RedRocker227 wrote:

scimonster wrote:

Do you mean the
when <> is true
block? I'd like that!

Isn't that the same as "forever if" though?

No, because it won't be forever.
But isn't that the same thing as the 

wait until <>
block?

Offline

 

#9 2012-03-26 04:08:59

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: WHEN Block

TorbyFork234 wrote:

RedRocker227 wrote:

scimonster wrote:

Do you mean the
when <> is true
block? I'd like that!

Isn't that the same as "forever if" though?

No, because it won't be forever.
But isn't that the same thing as the 

wait until <>
block?

A bit, but it starts the script.

Offline

 

#10 2012-03-26 05:56:55

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: WHEN Block

So just use

When gf clicked
forever
wait until <?>
broadcast [when v]


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#11 2012-03-26 15:43:56

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: WHEN Block

Needs a explanation.  hmm

Offline

 

#12 2012-03-27 15:19:47

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: WHEN Block

Hardmath123 wrote:

So just use

When gf clicked
forever
wait until <?>
broadcast [when v]

Guess I didn't think of that.  tongue

Offline

 

#13 2012-03-31 12:13:45

SplatKirby
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: WHEN Block

ALL RIGHT! What I'm trying to say is interaction between other sprites, or whatever, could be controlled much more easily.


http://gifninja.com/animatedgifs/205654/well-this-is-awkward.gif

Offline

 

Board footer