I need help figuring out how to make a time based sentry, what i want it todo is if a variable is equal to a certain number it activates, but after a while, when it changes numbers, it deactivates (if it doesnt change to the same number) , if its confusing to understand what im talking about, just ask and i’ll will rephase it.
so when a value is equal to a number that sentry activates and if its not that value it deavtivates
Yes , either im over thinking it or its too hard for me because I cant figure it out for the life of me.
so the value is a time??
no, the value is a random number, the sentry will activate if the number is the same as the number is assigned to it, example:
The sentry number is 1, the random chosen number is 1, the next randomly chosen number is 2, a different sentry is active and the first sentry is deactivated.
.
guys is there more solutions? Im kinda in a rush rn and i need to finish this in 20 min.
there is a property which is the rng then when that property updates they trigger this code you could do this for the ten numbers if it is equal then it transmits on a channel to activate or deactivate the sentry
THats a nice solution
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.