(solved) event ignoring switch conditions

hello all, this is probably a kinda stupid question but I'm trying to test out an event but its not working out

the premise is simple, I want there to be a character that once you talk to them, they disappear and then appear at another map

I thought to do this, place an event in the hubworld which is the character, then have their conditions set to the switch that activates once you talk to the character in another map, so what I thought it would cause was that the event does not appear in the hubworld until you talk to the character in the other map, once you do the event appears in the hubworld, however what happened was that the character still appears in the hubworld even though the switch isn't activated
I am very likely doing something wrong here but I cant figure out what
here's screenshots of the events

Schermopname (225).png
Schermopname (224).png
I'm no expert, but I think the problem is that you need two event pages for the event where you want the character to appear. The first page doesn't have a switch BUT it also doesn't have an image either. That way the character doesn't show up.

Then, the second page has the switch as the necessary condition AND the image you want. Then the character will appear when the second page is triggered by the condition.

I think that will solve your problem, but someone else will correct me if I am wrong.

Hope that helps!
I'm no expert, but I think the problem is that you need two event pages for the event where you want the character to appear. The first page doesn't have a switch BUT it also doesn't have an image either. That way the character doesn't show up.

Then, the second page has the switch as the necessary condition AND the image you want. Then the character will appear when the second page is triggered by the condition.

I think that will solve your problem, but someone else will correct me if I am wrong.

Hope that helps!
tried that, sadly it didnt work, character still appears
tried that, sadly it didnt work, character still appears
Can you post a new screenshot?

Your event 19 should now have 2 pages instead of just 1. Unless I am misunderstanding what you are trying to do.
Can you post a new screenshot?

Your event 19 should now have 2 pages instead of just 1. Unless I am misunderstanding what you are trying to do.
Schermopname (226).png
Schermopname (227).png
You don't need the first page of the second event; that one will still only appear when the switch is on. The problem has to be that the switch is already on. Try running a database search for that switch and see where else it's referenced; my guess would be it's just accidentally being used by something else or else being turned on prematurely somehow. If you only find one reference to that switch...that's weird. As a test, you could make another event that manually turns the switch off and you should see the switch-linked event disappear. From just looking at what's here, there's no reason that second event would show unless that switch is on. Hope that gets you in the right direction!

Edit: Also remember that if you're loading a saved game and the switch had been on when you saved, it'll still be on now, so either start a new file or manually turn the switch off before you try these two events. That might not help at all, but I just thought of it. Good luck!

Also, the switch won't make the first one disappear. That one will need a second blank page with that switch as a condition if you want him gone. Possibly something you know, but just as a heads up.
Sorry, I misread your other post. What BenSD said is true, you must be turning that switch on someplace.
I just tested this in MZ and I got it to work fine. I talked to the monster on one map, had it disappear from that map, and show up on a different map using the switch as the condition.

@BenSD said above, maybe your switch is being used somewhere else?

I can post my screenshots of my test in MZ if that would help.
Do you have some plugin that is turning the switch on (since you use switch 1)? I think one of my plugins used switches 1-4 by default?
You don't need the first page of the second event; that one will still only appear when the switch is on. The problem has to be that the switch is already on. Try running a database search for that switch and see where else it's referenced; my guess would be it's just accidentally being used by something else or else being turned on prematurely somehow. If you only find one reference to that switch...that's weird. As a test, you could make another event that manually turns the switch off and you should see the switch-linked event disappear. From just looking at what's here, there's no reason that second event would show unless that switch is on. Hope that gets you in the right direction!

Edit: Also remember that if you're loading a saved game and the switch had been on when you saved, it'll still be on now, so either start a new file or manually turn the switch off before you try these two events. That might not help at all, but I just thought of it. Good luck!
Schermopname (229).png

currently the switch is only used for this event
Do you have some plugin that is turning the switch on (since you use switch 1)? I think one of my plugins used switches 1-4 by default?
could be, but i dont know how to check which plugin uses what switch (I'm not really a pro at rpgmaker yet) these are the plugins that I'm using
Schermopname (230).png
Well try using switch number 25 in that event or something. I doubt any plugin would use that.

Edit: It could be Orange Overlay I think...
Maybe this will help:

Spoiler: My test, blank project
Screenshot (179).png
Screenshot (180).png
Screenshot (181).png
Screenshot (182).png
Screenshot (177).png
Screenshot (178).png

Edit: I always forget to say something... Mine is a little different, because the event will move back to its starting position after you talk to the second one. That's just to test and make sure both look right when the switch is off or on and lets me know which state it's in pretty clearly. You can just erase the command to turn the switch off on the second event if you want it to stay there.
Well try using switch number 25 in that event or something. I doubt any plugin would use that.

Edit: It could be Orange Overlay I think...
this worked, thank you!

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/solved-event-ignoring-switch-conditions.146431/