Discuss Scratch

jaguar1501
Scratcher
1000+ posts

Stop a Certain Script Block

zedthehedgehog wrote:

Interesting concept. This would be nice, actually, an old version of Scratch (0.3) had this feature where scripts were named (at least I think). I can show you a screenshot here:
the comic sans on the blocks though–
Anyway, support. Naming scripts could be cool for sorting them, and of course, for the main part of this suggestion, which I also support as it would cut down on the use of messages, which can sometimes get cluttered when there are too many
HTML-Fan
Scratcher
1000+ posts

Stop a Certain Script Block

Comic sans …
That too, they are also some sort of comments.

Last edited by HTML-Fan (July 5, 2020 12:52:05)

HTML-Fan
Scratcher
1000+ posts

Stop a Certain Script Block

Dupe, I guess.
Botcho_Otkho
Scratcher
1000+ posts

Stop a Certain Script Block

HTML-Fan wrote:

Dupe, I guess.
Your guess is wrong: the thread you linked is newer.
JustTbear
Scratcher
100+ posts

Stop a Certain Script Block

How do you imagine this? Like

when flag clicked   \(name the script: [boop v]) :: events hat
. . .

stop [script "boop" v]
Or what?

Last edited by JustTbear (July 8, 2020 13:37:27)

DarthVader4Life
Scratcher
1000+ posts

Stop a Certain Script Block

this is a dupe but i believe this has more constructive posts and it should be merged with the linked topic.
HTML-Fan
Scratcher
1000+ posts

Stop a Certain Script Block

Well, laughing about the design of scratch -20.0 is very constructive …
Yes, that would be moist.
DarthVader4Life
Scratcher
1000+ posts

Stop a Certain Script Block

HTML-Fan wrote:

Well, laughing about the design of scratch -20.0 is very constructive …
Yes, that would be moist.
sorry, who you talking to?

Last edited by DarthVader4Life (July 8, 2020 15:38:47)

HTML-Fan
Scratcher
1000+ posts

Stop a Certain Script Block

To you. Didn't know that the page would be full.
DarthVader4Life
Scratcher
1000+ posts

Stop a Certain Script Block

HTML-Fan wrote:

To you. Didn't know that the page would be full.
ah, reporting to be merged then.
scratchastroLOL
Scratcher
1000+ posts

Stop a Certain Script Block

what about
stop scripts if running {move (10) steps} :: control

Last edited by scratchastroLOL (July 8, 2020 15:51:50)

HTML-Fan
Scratcher
1000+ posts

Stop a Certain Script Block

I don't think that that would work well.
scratchastroLOL
Scratcher
1000+ posts

Stop a Certain Script Block

HTML-Fan wrote:

Dupe, I guess.

this is not a duplicate, that was made after this one.

Last edited by scratchastroLOL (July 8, 2020 15:50:36)

Enderboygamer
Scratcher
71 posts

Stop a Certain Script Block

This is how i believe it could work:
when green flag clicked
wait (30) secs
stop selected script
|
|
|
when green flag clicked
point in direction (90 v)
forever
turn cw (1) degrees
end
the line is a line that you can drag to decide what script it connects to, oh yea, did i mention that this block is compatible with multiple scripts?
if you click on a line while it's connected to a script, it will get removed.

Last edited by Enderboygamer (Aug. 15, 2020 08:22:37)

Cr4zy_C0der
Scratcher
12 posts

Stop a Certain Script Block

How can I make it so that when I stop pressing the left key (for my project), it stops instantly with a repeat until < > block?

Here is the code:

define Charge Up
repeat until <<not <key [left arrow v] pressed?>> or <(costume #) = [11]>>
wait (0.6) secs
next costume
if <(costume #) = [11]> then
repeat until <not <key [left arrow v] pressed?>>
change [Reaction v] by (0.000001)
end
end


end
broadcast [Throw Hammer v]
switch costume to [OC v]
MinecraftHaloMLP
Scratcher
5 posts

Stop a Certain Script Block

Making a Halo Magnum, I want reloading to stop if I melee, the only way I've seen is the stop script block, but that also stops “When Flag Pressed, Forever” blocks and there seems to be no way to start them up again
Harakou
Scratcher
1000+ posts

Stop a Certain Script Block

MinecraftHaloMLP wrote:

Making a Halo Magnum, I want reloading to stop if I melee, the only way I've seen is the stop script block, but that also stops “When Flag Pressed, Forever” blocks and there seems to be no way to start them up again
I'm not sure if you're saying that you need this suggestion for your project, but you might want to ask for help in Help With Scripts.
Mobius_strip
Scratcher
1 post

Stop a Certain Script Block

The_Scratch_Squad wrote:

Workaround:
when green flag clicked
...
broadcast [Stop Script v]

when I receive [Stop Script v]
set [Stop 1 v] to [1]

when this sprite clicked
if <(Stop 1) = [1]> then

stop [This Script v]
else
...
end
This would most likely work, so no support.

Worked for me, but I didn't need the ‘else’.
GunesKing
Scratcher
100+ posts

Stop a Certain Script Block

The_Scratch_Squad wrote:

Workaround:
when green flag clicked
...
broadcast [Stop Script v]

when I receive [Stop Script v]
set [Stop 1 v] to [1]

when this sprite clicked
if <(Stop 1) = [1]> then

stop [This Script v]
else
...
end
This would most likely work, so no support.
I was totally gonna say this, support to quote, no support for your topic, and……….. variables always workaround topics like this.
MinecraftHaloMLP
Scratcher
5 posts

Stop a Certain Script Block

GunesKing wrote:

The_Scratch_Squad wrote:

Workaround:
when green flag clicked
...
broadcast [Stop Script v]

when I receive [Stop Script v]
set [Stop 1 v] to [1]

when this sprite clicked
if <(Stop 1) = [1]> then

stop [This Script v]
else
...
end
This would most likely work, so no support.
I was totally gonna say this, support to quote, no support for your topic, and……….. variables always workaround topics like this.

I need it to constantly be checking for something, and constantly checking for another thing that stops the first thing

Powered by DjangoBB