I'd also like to ask how to list multiple number on one Variable as well.
In List - Only if the number is one of the numbers you put into the box are they allowed access. The numbers have to be separated by only comma's and no spaces (From Help & Info > How to use the Advanced Editor)
Does anyone know how?
Just one number only? Then it's going to be a lot of work for me... Basically, I was trying to put up the varible %P = (0,2,4,6,8,10,12,...) and %P = (1,3,5,7,...). Odd and even numbers, kinda like jumping through hurdles.
Let's just say I'm trying to include some math quiz that requires the player to memorize and manipulate it to their favor. For example, there is a fight going like this:
That's the gig of it. I probably need to rethink my plan after this.
I have, yes. IF THEN, exactly! But what I didn't get was how to correctly use the In List function.
Dog picks paper
Do I have manually do it every time like:
Or is there a simpler way I am missing?
Wow, you read my mind! Guess I'll stick to the basic and see what I can come up with. Thanks.
That means...I don't have to do that every time? Could you specify odds and evens that way?
Well why do I feel like an idiot, didn't even see the thing. Thanks for pointing that out, I'll give that a try right now.
You can take advantage of the truncation of fractional components here. If a number doesn't divide evenly by two, its decimals are truncated, and thus multiplying that result by two won't result in the original number. Therefore:
IF %AP = (%AP / 2) * 2 THEN # %AP is even
ELSE # %AP is odd
Thank you. It works great!
Unfortunately, I was planning for AP to be seen.