Switch to control if an event shows up for quest

Hey all,

Working on setting up this quest, which I want to have the item given to the player via an event if they have the quest.
So I created a Switch called "Have Quest 1" and in the event with the item, I've set Conditions as: "Switch: Have Quest 1"

The issue is that the event shows up and runs when clicked even when the player does not have the quest. Am I missing something here?

I also do have a self switch on the event, but that shouldn't matter, since I have a condition set for the event set as above...
I have the control switch for "Have Quest 1" only set to "On" if you talk to the quest NPC.
So if my logic is right, the event with the quest item shouldn't even be there...

Any help is appreciated.
Thanks
Hey all,

Working on setting up this quest, which I want to have the item given to the player via an event if they have the quest.
So I created a Switch called "Have Quest 1" and in the event with the item, I've set Conditions as: "Switch: Have Quest 1"

The issue is that the event shows up and runs when clicked even when the player does not have the quest. Am I missing something here?

I also do have a self switch on the event, but that shouldn't matter, since I have a condition set for the event set as above...
It shouldn't even be there...

Any help is appreciated.
Thanks
A few screenshots from the events ect... would be nice, otherwise it will be hard to pinpoint what went wrong. ^^
Let me get screenshots and post them. Sorry, and thanks!
A few screenshots from the events ect... would be nice, otherwise it will be hard to pinpoint what went wrong. ^^
Sorry bout that, here's what I got.
Quest giver page 1:
1644100908732.png



The switch to turn on "Have Quest 1" is nested in a Yes/No Choice and I have it under if the player picks Yes. However it seems like the switch is just on...all the time without even accepting the quest.

I've tried a few ways of working with the quest item event:
1644100877740.png


This is how I originally set it up, but I also tried having a blank first page with the Conditions set the same and an empty contents/image.
Sorry bout that, here's what I got.
Quest giver page 1:
1644100088405.png



The switch to turn on "Have Quest 1" is nested in a Yes/No Choice and I have it under if the player picks Yes. However it seems like the switch is just on...all the time without even accepting the quest.

I've tried a few ways of working with the quest item event:
1644100262363.png


This is how I originally set it up, but I also tried having a blank first page with the Conditions set the same and an empty contents/image.
Sry, dont know why but those pictures dont seem to work, on my side i get only this:
1644100940182.png



Anyway, i kinda got the gist of what you try to acomplish, here how it should look simplified:
1644101199151.png


3rd event is just an alternative you could use.


EDIT: nevermind, seems it was an error from my side, i can see the pictures now but sadly they still dont say anything, please when showing events, make screenshots from the whole eventwindow like i did up there and all pages.
If your switch is somehow ON, then there must be somewhere where you turn it ON, maybe another even, maybe its on parallel prozess??? Its hard to say with snippets.^^
Sorry bout that, here's what I got.
Quest giver page 1:
View attachment 215344


The switch to turn on "Have Quest 1" is nested in a Yes/No Choice and I have it under if the player picks Yes. However it seems like the switch is just on...all the time without even accepting the quest.

I've tried a few ways of working with the quest item event:
View attachment 215343

This is how I originally set it up, but I also tried having a blank first page with the Conditions set the same and an empty contents/image.
What's on page 2 of that second event?
Sorry bout that, here's what I got.

What's on page 2 of that second event?
The second page is empty, (to get it to disappear after running/self switch A is turned on)
1644104212684.png
1644103928915.png

The above event is shown as an item on the ground for the player to pick up.
The second page is empty, (to get it to disappear after running/self switch A is turned on)
View attachment 215356View attachment 215355
The above event is shown as an item on the ground for the player to pick up.
Those seem fine to me, there must be another event somewhere wich turns on the Have Quest 1 switch. Look up the other events or does the MV have a event searcher, if yes just look the said switch up:
1644104574628.png
Those seem fine to me, there must be another event somewhere wich turns on the Have Quest 1 switch. Look up the other events or does the MV have a event searcher, if yes just look the said switch up:
View attachment 215357
1644105644680.png

It's only in that one location...
Try another switch, use switch ID 15 or any other number and see if it works then properly...
It may be that the plugin turns switch 002 on somewhere... dunno, the event setups seem to be ok...
In test play, go to it when you don't have the quest and press F9 to open the debug menu. Check the value of the switch.
In test play, go to it when you don't have the quest and press F9 to open the debug menu. Check the value of the switch.
Thank you, this at least verified that I was correct in assuming that the switch was somehow turned on...I'll just try using another switch value for it
Just an update/answer to this thread here...

When checking the debug menu when I hadn't accepted the quest to turn on the switch for some reason the game is starting with the first 4 switches turned on.
I will just skip using those switches for now, until I figure out why they are starting the game as "ON"

Thank you Trihan for the debug in test play. I actually didn't know that F9 opened the debug window. That will be extremely helpful down the road.
And thank you Spaske for your assistance as well.

Cheers
Switch 1 is used by a lot of plugins. I usually start at 21 for that reason.

Also this belongs in the support section for the engine. which engine is this? Mz?

Edit: Saw the note on a few starting on. Those are probably in use by your plugins.
Seconding bgillisp's suspicion that those switches are being used by a plugin.

Original thread: https://forums.rpgmakerweb.com/threads/switch-to-control-if-an-event-shows-up-for-quest.144671/