Please help me logic this out...Variable Value as an Event Page Condition

So, I researched this a bit because I thought I was going crazy. I thought you could have an Event Page Condition using if a Variable is exactly Equal To a value. But I noticed that the only possibility is >=.

I read some posts about this and a plugin by Hime was suggested as an option. But some comments were just that you can get the same result using >=1, >=2, >=3, etc. as the Page Conditions. Since the Page with the highest Condition will the be the one that is active.

But I don't think that works in the Use Case I have. So I just want to confirm that using individual Switches (or a plugin) is the only way to do this.

I am making an Event that has 21 Pages. The 1st Page is the starting, controlling Page, and then the next 20 Pages are all based on the choice you made on the 1st Page.

Pages 2-21 are essentially the same Event Commands, but they present the player with different options and information.

So, if I could set the Page Conditions to Equal To a specific value, then it is very easy. If the Variable value is 10, then Page 11 is Active. If 15, then Page 16 is active.

But it would seem that if I use the >= logic, then how would I get Page 10 to be Active? It seems like if I use the >= 9 that Page 21 would be Active instead of Page 10. Since Page 21 would be the highest Page where the Condition is met. Because 20 is >=9.

I suppose I could just use 1 really big Event page with Conditional Branches, but to make it easier to work with, I prefer to make separate Event Pages.

So, in this case, am I missing something obvious about the >= logic or is this an example of where you can't use >= a value and you need to use either a bunch of Switches or a plugin or one Event Page with a bunch of Conditional Branches?

Thanks!
Like you said, it's always >= for event pages if you use variables condition. But if you want to trigger page 9, then you set the variable for 8, and only pages >=8 will start (and in this situation, the further the pages the more priority it has), so in your example it'll be page 9, right? If your variable will be 20, then why do you want to trigger page 9? 😀


Purely theoretically, if there were = instead of >=, then if your variable was equal to 20, it would not run page 9 too.
But it would seem that if I use the >= logic, then how would I get Page 10 to be Active?
By making the condition >= 9 and setting your variable = 9. Page 10 will be the highest-numbered page whose condition is true at that point.

It seems like if I use the >= 9 that Page 21 would be Active instead of Page 10. Since Page 21 would be the highest Page where the Condition is met. Because 20 is >=9.
But your variable shouldn't be equal to 20 if you want page 10. It should be 9. So page 21 checking for the variable to be >= 20 will be false - how would its condition be met?
I don't know why this is so hard for me to wrap my brain around. You're both right. If the Variable value is 9, I want Page 10 to be Active. For some reason I keep thinking but wait! 20 is > 9 so Page 21 will be Active. But I need to think about when the Event actually checks Page 21. And it says 9 is NOT >= 20 so the Page 21 Conditions haven't been met. And go backwards.

This really shouldn't be that hard to grasp, but for some reason, it just seems weird. I keep thinking that the Event is checking the value of the Page Condition and saying it is > the Variable value. But that isn't the way to think about it. My brain just keeps defaulting to that for some strange reason. I just need to think about checking the Conditions from highest Page backwards and it makes more sense to me.

Anyway, I understand the examples so I know it makes logical sense.

Thanks for your response...as you both probably shake your heads and think...what the heck is he thinking? :LZSlol:

I will ask for the thread to be closed now. Thanks again!
This thread is being closed due to being solved. If you need it reopened, report it to let us know why.

Original thread: https://forums.rpgmakerweb.com/threads/please-help-me-logic-this-out-variable-value-as-an-event-page-condition.166423/