Discuss Scratch

SuperMarioHome
Scratcher
100+ posts

Stop a Certain Script Block

Nether_before wrote:

Support because this would be useful
How? Please be constructive.
javierward101
Scratcher
14 posts

Stop a Certain Script Block

matey1234 wrote:

you can just put a stop this script in your script. no support.
This really doesn't make sense because if something happens to one script and you want to affect another, simply putting a stop block under the script you want to affect won't do the trick so even if you are an experienced scratcher this wouldn't make sense either way
javierward101
Scratcher
14 posts

Stop a Certain Script Block

BaconAndEggs1 wrote:

LP_Play wrote:

-snip-

Thanks The_Scratch_Squad!

Check the last post date next time to avoid necroposting, this thread hasn't been active since April of last year.
necroposting might be the dumbest rule on this website because if it on the internet it's on the internet. No questions asked
kawaiitime15
New Scratcher
6 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.
That was really smart!
Myst--
Scratcher
100+ posts

Stop a Certain Script Block

You can make a custom block that does this. No support.
YtArie5
Scratcher
1000+ posts

Stop a Certain Script Block

Support, the workaround works, but I think this would be helpful for me

Last edited by YtArie5 (Jan. 14, 2022 20:29:37)

Jackson49_test
Scratcher
100+ posts

Stop a Certain Script Block

Bump
Jubileequack0
Scratcher
1 post

Stop a Certain Script Block

hi
BulbasuarAmIRight
Scratcher
1 post

Stop a Certain Script Block

Tommy100 wrote:

Currently stop blocks only include: stop all, stop this script, stop other scripts in sprite. I really need this script for my game. Can you make another stop block option. Stop a certain script. I was thinking you would drag down from the stop script and when you clicked the option it would ask you, “Which script would you like to be stopped?” and then you would click on the script in the sprite. Would anyone find this script helpful? I would like Scratch Team to check this out.

In the middle of the code add this:

if <[Thing] = [0]> then
stop [this script]
end

Last edited by BulbasuarAmIRight (July 8, 2022 02:56:45)

Powered by DjangoBB