#How to use the "random" feature in skript within a gui?

1 messages · Page 1 of 1 (latest)

vivid jacinth
#

Set slots (integers between 0 and 8, 10, integers between 13 and 15)

#

or add all those numbers to a local list var and loop that list, setting the slot of loopvalue to x

short vector
#

aight

vivid jacinth
#

if that code doesn't work and spits out an error

tropic crystal
#

Parenthesis

#

slot ((integers between a and b), 4, 9, (integers between c and d), and 87) to diamond

short vector
#

its not what you guys told me to do, but i couldn't figure it out at all xD

#

only issue rn is detecting when someone clicks the potato to add a number somewhere and so another random potato and that the potato should ignore the black panes

vivid jacinth
#

as long as it works

#

¯_(ツ)_/¯

vivid jacinth
short vector
glossy jolt
#

Wat

#

LOL

tropic crystal
#

O k

tropic crystal
tropic crystal
short vector
#

still haven't figured it out but yeah xd

#

someone showed me an easier way which is with sk-gui but now idek how to add the random location in there...

#

finding information is incredibly hard

tropic crystal
#

sk gui and vanlilla guis are different ways to do the same thing.

#

you could proably set event-slot to {_whatever}, then set a random slot of the event-inv to a potato

short vector
#

Okay ive gotten further with what im tryint to create but now i wanted to limit where the potato could be placed so i used the inbtween integer thing but it seems to not understand that for the potato part

short vector
#

Ya know what dw, i'll just remove the panes, its a nightmare to code with

tropic crystal
#

could make a fucntion