Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Setting a range
- Hodee3
- Scratcher
2 posts
Setting a range
I need to set a range for my variables for example “Cat Health” and i want it the scripts to be like is “if 90 - 100-> change costume to #9”
- Bang_Mega_Xtreme
- Scratcher
10 posts
Setting a range
I need to set a range for my variables for example “Cat Health” and i want it the scripts to be like is “if 90 - 100-> change costume to #9”
Please explain your problem more clearly, or share the project you are having issues with so that I can try to help.
- Happysoul05
- Scratcher
100+ posts
Setting a range
simple problem:
if <((var)>(89)) and ((var)<(101))> then
switch costume to [a costume v]
Check out my friend CaptainDinosaurGames' Anti flux
PICTIONARY !
An employee at The Meow Shop
Bomber Cat
Smash Boy Adventures - A platformer
1945
Check out profile for more !
- OTSFan203
- Scratcher
500+ posts
Setting a range
try this: I need to set a range for my variables for example “Cat Health” and i want it the scripts to be like is “if 90 - 100-> change costume to #9”
if <[variable] < [rangehere]> then
change [variable] by [-1]
WHATS UR RESUME
MINE IS THE GRINCH
- OTSFan203
- Scratcher
500+ posts
Setting a range
a variable range xD set a range that a variable cannot go over and/or under.I need to set a range for my variables for example “Cat Health” and i want it the scripts to be like is “if 90 - 100-> change costume to #9”
Please explain your problem more clearly, or share the project you are having issues with so that I can try to help.
WHATS UR RESUME
MINE IS THE GRINCH
- 23ls1
- Scratcher
1 post
Setting a range
im doing a point system on my game where you can purchase things and I want the player to have at least 100 points but if he has more I still want it to work
- grkw2020
- Scratcher
100+ posts
Setting a range
Please don't necropost. It's better to start a new discussion than post on an old one.
- Discussion Forums
- » Help with Scripts
- » Setting a range