Discuss Scratch

Band-Geek
Scratcher
2 posts

My Variable Keeps Resetting!

I'm working on a project and after the variable gets to 6-10, it resets! Does anyone have a solution?
-Thanks!

say [Help!!!!!]
awesome-llama
Scratcher
1000+ posts

My Variable Keeps Resetting!

Is there any script that resets it? It might get triggred at the wrong time.

500 posts!

Last edited by awesome-llama (March 19, 2016 22:24:53)

Band-Geek
Scratcher
2 posts

My Variable Keeps Resetting!

The only script that resets it is part of the
when green flag clicked
AndrewBerezaafan
Scratcher
100+ posts

My Variable Keeps Resetting!

Do you want it to save every time you play?
If you do make sure it is a “Cloud Variable”

when green flag clicked
say Ahh! My Games Are To Cool!

Follow me! I appreciate any-one that follows me!
Also check out my projects, leave a like and a fav :D
when green flag clicked
if <(signature) = [Done]> then
set [signature v] to [Done]
say [Bye!]
end
pianogirl84
Scratcher
1000+ posts

My Variable Keeps Resetting!

Can you share the project?
Nice username btw


natalie // ravenclaw // tøp // dodie // oh wonder // misterwives // paramore // panic! // self-proclaimed meme lord
links: profile // newest project // wiki page (ia) // test account
Phosphor
Scratcher
71 posts

My Variable Keeps Resetting!

Here's a hint for finding the bug: Try testing input by holding down each of the four arrow keys, one at a time.

Does one of the four keys seem… strange?
parisleopard
Scratcher
54 posts

My Variable Keeps Resetting!

What would help me most is if I could see inside. Could you share it temporarily and give me a link to it? I might be able to get a solution!
-parisleopard
DrDuctape
Scratcher
25 posts

My Variable Keeps Resetting!

You could do this:
if <(Number) < [10]> then
if <(Number) > [6]> then
set [(Number) v] to [0]
end
end
Hope that helps!

when green flag clicked
forever
Do math ((1337) * (9001)) times
end
Nightseeker1
Scratcher
100+ posts

My Variable Keeps Resetting!

Could you share the project and post a link?

Powered by DjangoBB

Standard | Mobile