MZ More conditions for event pages

Hi,

I'm looking for a quite simple plugin, idk why I can't find something like this, maybe I'm just searching the wrong terms :-/

All I want are more conditions for the event pages. Especially I want to use variables as a condition. By default RMMZ can only check if a variable is >= than a variable.

I want to check if a variable is equal to a value and if it is the page should be activated.

I want to use such a plugin for my day/night system. I want to store the current day phase as a number in a variable (Morning = 1, Evening = 2, Night = 3 ....).Then I want that certain events (NPCs) only spawn at day phase 1,2 or 3.

I already found the plugin from HimeWorks, but it the game crashes sometimes if I use it with RMMZ :-/
Well you probably don't find much plugins for your use case, because you can already do that with the default engine. This is because if the conditions for several event pages would be true, the one with the highest page number takes priority and the other ones are ignored.
So can simply have the following setup:
- page 1 condition variable >= 1
- page 2 condition variable >= 2
- page 3 condition variable >= 3
...
This is the equivalent of having the comparisons be purely about equality like you wanted.
that is because it is a plugin for MV which is not always compatible with MZ, although a lot of them can use FOSSIL for compatibility.

on the other hand, there is no need for a plugin.
one reason why the RMs got away with a fixed >= comparison is because it is easy to make it into an equal comparison by eventing alone.

Make one event page conditioned to for example >=2, and make the NEXT event page conditioned to >=3.
Because the higher page has always priority the page with 2 will ONLY trigger on 2, because on 3 the ext page will trigger instead. all you need for your time system is being careful with the ordering of your pages, and adding one more for after the highest number.

EDIT: ninja'd
aaaaaaah true 😀
IQ 200, haha.

Thank you 🙂
While it seems that the OP was able to find a solution without the next for external plugins--I just wanted to quickly add in, for the sake of people whose internet searches may bring them here--that there is something similar to Hime's custom page conditions for RPG Maker MZ by way of Visustella's Events and Movements core:


A lot of the VS core stuff is a lot more involved than its name may first let on, bundled with tons of stuff that may prove useful when you delve into the specifics of it all, especially with the Events and Movement core!

Original thread: https://forums.rpgmakerweb.com/threads/more-conditions-for-event-pages.151152/