[SOLVED] Switch/Event Help

Status
Not open for further replies.

OusatsuZansatsu

Villager
Member
Joined
May 3, 2018
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Update: The problem has been solved and my events are working fine now. Turns out a script I added into the game was using switches and the ones being used had ones I designated switches to for other events.

Hey, I'm kind of new to RPG Maker and I'm still getting used to learning the ins-and-outs of the program itself. I know how to use switches and I have a few set up in my game where you'll need a certain item to go somewhere. For example I have a garden area you can access but in order to do so you need to buy a ticket/pass, then you're free to visit the garden. That event/switch is working just fine but some of my other events involving that same method aren't working and when I test to see if the "you can't go here yet without (insert item)" event, it works as if I already have the item required.

I didn't have this problem before in previous versions of my game but now all of a sudden they aren't
Does anyone know how to fix this?
 
Last edited:

Plueschkatze

Veteran
Veteran
Joined
Aug 4, 2016
Messages
522
Reaction score
1,551
First Language
German
Primarily Uses
N/A
Might be easier to find someone to help you if you share screenshots of you event pages. :)

It's hard to guess what might be the problem without seeing what you've setup.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Make sure your pages that require the item are AFTER the pages that don't require the item.

If an NPC gives you a quest to pick oranges from the tree, they should give you the quest on tab 1, and give you the reward on tab 2 after your oranges variable is 10. Or something along those lines.

RPG Maker looks at pages from the highest number to the lowest number, and makes the highest numbered page that has no conditions, or all conditions are met, the active page.

But yes, if that doesn't help, we need to see the pages of one of these events that isn't working. Make sure you include the WHOLE event window in the screenshot, as chances are the problem is not going to be in the list of event commands.
 

OusatsuZansatsu

Villager
Member
Joined
May 3, 2018
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Might be easier to find someone to help you if you share screenshots of you event pages. :)

It's hard to guess what might be the problem without seeing what you've setup.
Sure thing ^^
Here's one of the events I'm having a problem with
This is a note that's supposed to allow you to see the mayorEvent1.PNG Event1.2.PNG

And this is the event that blocks you until you grab the itemEvent2.PNG Event2.2.PNG

This event was working just fine for me before but now all of a sudden it's not. It acts as if I already have the item even though I don't
 

OusatsuZansatsu

Villager
Member
Joined
May 3, 2018
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Make sure your pages that require the item are AFTER the pages that don't require the item.

If an NPC gives you a quest to pick oranges from the tree, they should give you the quest on tab 1, and give you the reward on tab 2 after your oranges variable is 10. Or something along those lines.

RPG Maker looks at pages from the highest number to the lowest number, and makes the highest numbered page that has no conditions, or all conditions are met, the active page.

But yes, if that doesn't help, we need to see the pages of one of these events that isn't working. Make sure you include the WHOLE event window in the screenshot, as chances are the problem is not going to be in the list of event commands.
I know, that's the thing though, I have my event set up on the first page but when I play the game it acts as if it's on the second page. Idk why it's doing that ^^;
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Have you added any scripts? Have you checked whether the scripts use any switches? If they do, have you named those switches to ensure you don't accidentally use them for something else?

Your events are wrong, too. All the event commands should be on the first page of those events, and the second page should have nothing. Otherwise, the player has to interact with the event a second time (which is going to be hard, when they can't see anything there) in order to turn on the switch.
 

OusatsuZansatsu

Villager
Member
Joined
May 3, 2018
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Then show us the events.

Have you added any scripts? Have you checked whether the scripts use any switches? If they do, have you named those switches to ensure you don't accidentally use them for something else?
I did show the event's though ^^;
In this post right here
Sure thing ^^
Here's one of the events I'm having a problem with
This is a note that's supposed to allow you to see the mayorView attachment 89145 View attachment 89146

And this is the event that blocks you until you grab the itemView attachment 89147 View attachment 89148

This event was working just fine for me before but now all of a sudden it's not. It acts as if I already have the item even though I don't
I do have a few scripts I added in to my game but I don't think any of them use switches
 

OusatsuZansatsu

Villager
Member
Joined
May 3, 2018
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Have you added any scripts? Have you checked whether the scripts use any switches? If they do, have you named those switches to ensure you don't accidentally use them for something else?

Your events are wrong, too. All the event commands should be on the first page of those events, and the second page should have nothing. Otherwise, the player has to interact with the event a second time (which is going to be hard, when they can't see anything there) in order to turn on the switch.
Well I'm stupid, I just found out that it WAS a script I added
I took it out and the events are working just fine now

I feel so dumb lol
 

OusatsuZansatsu

Villager
Member
Joined
May 3, 2018
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Have you added any scripts? Have you checked whether the scripts use any switches? If they do, have you named those switches to ensure you don't accidentally use them for something else?

Your events are wrong, too. All the event commands should be on the first page of those events, and the second page should have nothing. Otherwise, the player has to interact with the event a second time (which is going to be hard, when they can't see anything there) in order to turn on the switch.
It was a script, I took it out and it works fine now ^^;
And yeah, I was messing around with that particular event in order to see why it wasn't working but I guess I forgot to put it back to how I had it before.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP
@OusatsuZansatsu, please refrain from double posting (= posting after yourself). If you want to add something, just use the 'Edit' button to add to your last post. If you want to quote multiple posts, just click on +Quote of all those posts, scroll down and click on Insert Quotes.

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.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top