conditional events

right now i have an inventory system where the player clicks an event on the bottom portion of the screen and the event plays a description of the item although its controlled by switches. basically there's two used for each item: an item switch which is specific to that item and a special switch every item uses so that during special events they dont show up at all.

one problem is what happens when neither switch is activated. basically, from my understanding, rpgmaker mv s itself and crashes the whole game. one solution was to add one blank event page where its nothing, but since those conditions will always be met it defaults to that and will never play the description part of the item (nor show the icon)

any workarounds or solutions for this?
Your Turn to Die_ -Jackleg Partcicipants- - RPG Maker MV 5_10_2023 1_52_55 PM.png
Your Turn to Die_ -Jackleg Partcicipants- - RPG Maker MV 5_10_2023 1_53_06 PM.png
There shouldn't be any problem when neither switch is turned on, the event simply won't display at all.

When you get crashes, please press F12, go to the Console tab, and take a screenshot of the error trace.

If there's a crash that's actually related to this, it could be from whatever plugin you're using with that click trigger notetag (you don't say in your post).

You might need to push those pages over to 2 and 3, and have a blank page 1 with no conditions.
When you get crashes, please press F12, go to the Console tab, and take a screenshot of the error trace.

If there's a crash that's actually related to this, it could be from whatever plugin you're using with that click trigger notetag (you don't say in your post).

here's the console trace and the plugin i use, as said in the console, is YEP_EventClickTrigger. Also in the trace it talks about the DestinationSprite plugin I'm using, which is to make it so no white block shows up when clicking areas.

Developer Tools - chrome-extension___odlameecjipmbmbejkplpemijjgpljce_index.html 5_10_2023 2_1...png
Okay, so it looks like the Yanfly plugin is somehow trying to work on an event that doesn't exist.

Did you try my solution above? If that doesn't help, try turning off just the DestinationSprite to see if the Yanfly produces the bug by itself.
Okay, so it looks like the Yanfly plugin is somehow trying to work on an event that doesn't exist.

Did you try my solution above?
im pretty sure it works, i still have to go through the whooole game and change every single item on every single map. i wish there was an easier way of doing it
Well, did you take my other suggestion and test it with the other plugin disabled? If there's a bug that can be fixed in a plugin, that would be easier than fixing every item on every map.

I'm having a hard time following what you've done or not.
no, no, i did the solution of adding a blank page #1. back then i did it to page #3 in which i didn't work at all, now it seems to work just fine. i know for a fact that it's not a plugin's fault because looking back on older code of the game, it seems like i had the problem before and just forgot about it.

i did the same thing beforehand so i know it works just fine, turns out the problem all along was bad memory
i know for a fact that it's not a plugin's fault because looking back on older code of the game, it seems like i had the problem before and just forgot about it.
If you have it working, then that's cool, do what works. But what you're saying there indicates something is wonky with your project - with no plugins, having an event that doesn't meet any conditions should not make your game crash.

It doesn't in my test project.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-events.157412/