Is there a way to have a small if/else loop? I have
if <this> bleh else if <this> bleh else if <this> blehtimes 5, and it's impossible to move. Halp meh!
Offline
Firedrake969 wrote:
Is there a way to have a small if/else loop? I have
if <this> bleh else if <this> bleh else if <this> blehtimes 5, and it's impossible to move. Halp meh!
Create the sepearately, and then add them all together.
Offline
Firedrake969 wrote:
Is there a way to have a small if/else loop? I have
if <this> bleh else if <this> bleh else if <this> blehtimes 5, and it's impossible to move. Halp meh!
Not entirely, though I do have a solution that might help you. First, create a variable named whatever you want. Then, break up your ID's so that it looks like this:
set [variable v] to (0) if <this> set [variable v] to (1) bleh else if <this> set [variable v] to (1) bleh end end if <(variable) = (0)> if <this> set [variable v] to (1) bleh else if <this> set [variable v] to (1) bleh end end end
Last edited by ErnieParke (2012-11-18 20:08:11)
Offline