So I was wondering about something with repeat loops. Right now they work like this
repeat
this
until that
but, what if you do this?
repeat
this
until that or this
can you add that or statement, or does that not work?
So I was wondering about something with repeat loops. Right now they work like this
repeat
this
until that
but, what if you do this?
repeat
this
until that or this
can you add that or statement, or does that not work?
Yea you can have an or statement if you want it to stop repeating until one of the conditions are true
you most certainly can use βorβ statements in repeat until functions
example below
local parameter1 = 0
local parameter2 = false
repeat
parameter1 += 1
until parameter1 == 15 or parameter2 == true
Ok thank you! I was wondering if it worked that way.