Can't figure out how to make an NPC disappear after a certain conditional branch

karinthefox

Veteran
Veteran
Joined
Apr 13, 2019
Messages
41
Reaction score
12
First Language
Spanish
Primarily Uses
RMMV
Hello everyone! I can't, for the life of me, figure out how to do this :LZSsad: Would really appreciate the help.

I have a certain quest where the main character needs to talk to two characters: Jack and Vica. After she talks to them both, another event will activate and the story will continue. This quest has two variants since players can talk to Jack first and Vica later and viceversa. When players talk to Jack first and leave Vica for last, everything works perfectly. The problem arises when it's the other way around... Vica needs to be blocking a certain door when you talk to her, and you can talk to her again for one more line of dialogue. However, when the "talking quest" is done she needs to disappear because the main character will need to go through that door she was previously blocking.

I made a self-switch A for case 1 (when you talk to Vica last). This one works perfectly. If you talk to her first, though, there's a self-switch B and an extra line of dialogue. The problem is that, after that, the main will need to talk to Jack and then the new event will activate, but I can't figure out how to make Vica disappear. In theory... I should make self-switch C but I already tried that and it's not working. When I make self-switch C in a new page, Vica only disappears if I talk to her.

I'm sorry if my way of explaining my problem is a bit confusing. I'm attaching some screenshots of what I did.
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
highest page number = highest priority.
if several pages are active, only the one with the highest priority will be used.

you need to disable pages that are no longer needed by turning off the switches depending on which page you want to see.
 

karinthefox

Veteran
Veteran
Joined
Apr 13, 2019
Messages
41
Reaction score
12
First Language
Spanish
Primarily Uses
RMMV
highest page number = highest priority.
if several pages are active, only the one with the highest priority will be used.

you need to disable pages that are no longer needed by turning off the switches depending on which page you want to see.
I understand the logic of it but I'm finding it very difficult knowing how to implement it. With the else branch I created in page one, it will go to page 3 where self-switch B is turned on. But how do I do to turn it off at the right time and make Vica disappear? I tried making a conditional branch to turn it off when the protagonist talks to Jack but it still won't work and I'm at a loss at how to do it.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top