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

#1 2008-09-29 18:58:04

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Broadcast GreenFlag

A block if activated it will act like the green flag was clicked.

Offline

 

#2 2008-09-29 19:04:10

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: Broadcast GreenFlag

then you just do: "when green flag clicked, broadcast: green flag" then: "If I recieve: green flag" then make it do whatever you want at the beginning, and the do like "If Q pressed, broadcast: green flag" then it "restarts" without hitting the flag! :-D


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#3 2008-11-24 19:19:30

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: Broadcast GreenFlag

I found out a better way,make a broadcast called greenflag,and make all the scripts start with that broadcast so then you would kind of have that.

Like this:

<when green flag clicked>
<broadcast[ greenflag ] >


<when I receive[ greenflag ] >
    what ever scripts

Offline

 

#4 2008-11-24 19:39:36

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: Broadcast GreenFlag

keroro645 wrote:

I found out a better way,make a broadcast called greenflag,and make all the scripts start with that broadcast so then you would kind of have that.

Like this:

<when green flag clicked>
<broadcast[ greenflag ] >


<when I receive[ greenflag ] >
    what ever scripts

THAT'S WHAT I SAID! anyways, this is good for games that you want that have a "reset mode".


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#5 2008-11-24 20:53:20

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: Broadcast GreenFlag

Yeah,lol thought you were saying:

<when green flag clicked>
broadcast greenflag

I thought you meant the greenflag being clicked over and over

Offline

 

#6 2008-11-24 22:47:05

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Broadcast GreenFlag

only problem, I want the same thing for a game that has over 500 scripts...

Offline

 

Board footer