MZ Is there a way to manipulate event editor conditions?

Hello!

Sorry if the question is trivial. I am not too experienced.

I want to know is there a way to make variable condition on event page check for "=" instead of "≥"?

I want to avoid using plugins in my project wherever I can, especially big multipurpose ones, so if it can be done without them it would be neat.

1774975455875.png
I mean >= already triggers when =. If you don't want it triggering when >, just make sure it has a second event page it switches to when it's >.
I want to know is there a way to make variable condition on event page check for "=" instead of "≥"?
This one's easy. Add a second page that has a condition of the same variable and a value 1 greater.

I didn't know CasparGaming had a custom conditions plugin, but personally I think that Hime's plugin is much better – it leverages the event commands system instead of using note tags for conditions, meaning there's literally no limit on the types of conditions you can use. Still, if you just want variable equality, it's overkill.
If you don't want to use a plugin, you can easily do so using the `Conditional Branch...` command.
But what you must not forget is that the Trigger must be set to Parallel.

P1.jpg


I forgot to mention that you need to use this page to create the conditions, so it's not suitable if this EV needs to interact with the Player.
Already knew about that one, was thinking about using it if won't be able to figure out my problem. Still, thank you for your advice.
I mean >= already triggers when =. If you don't want it triggering when >, just make sure it has a second event page it switches to when it's >.
You are right. I feel incredibly embarrassed right now. I somehow thought it would mix up things and would always choose event page with the highest number instead of the currently stored in a variable.
I was trying the same thing before with multiple event pages tied to a variable and it did mix them up, but it was most likely due to me just messing up the order of pages. Right now I checked in a test project and it worked normally, only choosing pages with higher number when variable was equal to that number.
Thanks for your reply!
This one's easy. Add a second page that has a condition of the same variable and a value 1 greater.

I didn't know CasparGaming had a custom conditions plugin, but personally I think that Hime's plugin is much better – it leverages the event commands system instead of using note tags for conditions, meaning there's literally no limit on the types of conditions you can use. Still, if you just want variable equality, it's overkill.
You are right. Once again, I'm deeply ashamed. Should have tried one more time to check how it works before asking here. Thanks for mentioning another plugin for that, I only knew about Casper's one before that.
If you don't want to use a plugin, you can easily do so using the `Conditional Branch...` command.
But what you must not forget is that the Trigger must be set to Parallel.

View attachment 363802

I forgot to mention that you need to use this page to create the conditions, so it's not suitable if this EV needs to interact with the Player.
That actually a neat way to do this, but I do need my event to interact with the player. Still, thanks for sharing!
The thing to keep in mind is that the engine will always run the highest event page it's able to for which it meets its conditions, and won't run pages for which it doesn't. So if you have a page activated by a variable having a value of 4, it won't run unless that variable is 4 or higher. Then if you have a second page activated by a value of 5, it will switch to that page once the variable is 5 or higher, and will never run the first page again unless the variable somehow becomes 4 again.
The thing to keep in mind is that the engine will always run the highest event page it's able to for which it meets its conditions, and won't run pages for which it doesn't. So if you have a page activated by a variable having a value of 4, it won't run unless that variable is 4 or higher. Then if you have a second page activated by a value of 5, it will switch to that page once the variable is 5 or higher, and will never run the first page again unless the variable somehow becomes 4 again.
And that is exactly how I needed it to work, just confused myself by previous mistake when setting such variable-tied event pages.
The critical part of using multiple variable conditions is the order of the pages.
the lowest page number has to have the lowest variable value to check.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-manipulate-event-editor-conditions.183089/