#detect if a number goes up
1 messages · Page 1 of 1 (latest)
Or a “greater or equal to” chip
Then put the result into an if chip
Do it over and over or if u want it so that whenever they get let’s say 3 it sends an exec to what 3 shud do use an “execution int switch” I pretty sure it’s called
So u want add 1
Use an add chip
I don’t think I do
Okay so
In a nutshell:
2 int variables
Save the Current into Last
Check if Current is Greater Than Last
If so, then do this
If not, then do this
This what I was gonna say
Connect the output int from Current, to the input int from Last
When you execute Last, it will what Current is into Last
On the output execution from Last, check an If for if the Current is Greater Than Last
Variable names..
Yes, cause they are 2 separate Int Variables
Whenever you want to check if the next number is bigger than the Current
By executing it?
cant you just use the event reciver on int variable changed then a if and a equals
You could use Events, yes, but then this person would need to be told everything about how to use them and configure them
@split verge u want to make an “int variable” and set it to 0 when room loaded.
Then clone that variable and connect the output int into the less or equal in the bottom half
After the if is ran into the ja variable u want to execute into another clone of that int variable and link the connect “get count” into the input int
But in a nutshell for events:
Event Defintion with an Int
Event Sender to send Int
Event Reciever to recieve
On Reciever, check if the int added onto your Variable is Greater Than the Variable, if so, then Add to Variable
@split verge want me to join and do it cuz explaining it here is so confusing
@Mosq1 is @
Give me a min to hop on
😂
?
Dude don’t do any of this 🤦♂️
It’s literally so simple
look for an event in a event reciever that looks like this “(INT VARIABLE NAME HERE) Changed”
obviously put your variable name for the “INT VARIABLE NAME HERE” part
@hollow crater That just sends an execution for whenever the variable changes number. They want to know how to check if the Variable has increased.
oh then yeah