Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » my cloud variables are broken.
- majp2014
-
Scratcher
32 posts
my cloud variables are broken.
Cloud variables don't work for me.
can someone please help
can someone please help
- FancyTigerDustBall
-
Scratcher
100+ posts
my cloud variables are broken.
If you need help with your project, please share a link to it. Otherwise, we can't find out what's wrong with it.
That being said, there is always a chance the issue is with the cloud variables themselves and not your code. I will go into more detail if I see there is nothing wrong with your code.
That being said, there is always a chance the issue is with the cloud variables themselves and not your code. I will go into more detail if I see there is nothing wrong with your code.
- BrainGamer1234
-
Scratcher
100+ posts
my cloud variables are broken.
Cloud variables suck, this is (likely) a scratch problem not a you problem.
- NMario84
-
Scratcher
1000+ posts
my cloud variables are broken.
There's a simple solution to everything.
Create a variable. -> Set it to cloud variable. -> Then rename the variable to something else. -> Keep testing until cloud variable starts working for your project.
You can check with this method:
The way this works that if your cloud var is connected, the value “X” gets automatically set to 0 because cloud variables can't use letters.
So with that said, if it automatically turns to 0, your cloud variable is connected and ready to use.
Create a variable. -> Set it to cloud variable. -> Then rename the variable to something else. -> Keep testing until cloud variable starts working for your project.
You can check with this method:
when green flag clicked
set [☁ cloud var v] to [x]
wait (0.5) seconds
broadcast (check v)
when I receive [check v]
if <(☁ cloud var) = [x] > then
say [Not connected]
else
say [connected!]
end
The way this works that if your cloud var is connected, the value “X” gets automatically set to 0 because cloud variables can't use letters.
So with that said, if it automatically turns to 0, your cloud variable is connected and ready to use.
Last edited by NMario84 (Today 05:31:37)
- Discussion Forums
- » Help with Scripts
-
» my cloud variables are broken.