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

#1 2011-02-07 17:56:55

Jirachiwishu
Scratcher
Registered: 2010-02-25
Posts: 25

The "i recieve" block

I would save A LOT of scripts if there was an "i recieve" block. Quote this if you agree.
big_smile


Yay.  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile : MY MINIONS! Fear me.

Offline

 

#2 2011-02-07 18:47:28

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: The "i recieve" block

This has been suggested many, many times - it won't happen because "I receive" isn't a boolean statement.

The <[ ] received?> fictional block would do the same as you're asking, however - and it is boolean. So many people want it that it might appear in Scratch 2.0...


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2011-07-31 12:33:06

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: The "i recieve" block

only true for 1 millisecond...

Last edited by joefarebrother (2011-07-31 12:33:16)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#4 2011-08-01 09:13:52

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: The "i recieve" block

The "I Receive" block already exists.  It's a "hat", because a broadcast is an "event". 

It will always be a hat block, as it just doesn't make sense otherwise.  If you need to have a broadcast cause something to change in a running script, you must use the "event" triggered by the broadcast to change a variable and have that variable cause the change you want.  Example:

Forever If (GameOn = 1)
do game related stuff
more game stuff
etc.


When I Receive (GameOver)
Set GameOn = 0

This stops the script that runs the "game".

Offline

 

Board footer