EsteeDee

Warper
Member
Joined
Jan 20, 2021
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
So basically the idea is you have to search every book case in this area of the game (5 book cases) to unlock a dialogue option from a npc to get a key. I have no idea how to do that, I tried variables but that didn't work out for me and i'm stumped so some help would be greatly appreciated!
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,935
Reaction score
8,859
First Language
English
Primarily Uses
RMMV
How did variables not work? It sounds like all you need to do is each time they find a book or whatever it is they are searching the book cases for, that adds 1 to a variable. And the NPC unlocks the dialog when the variable is 5.

But without knowing what you tried and how it didn't work, it's hard to advise further.
 

Unisoft

Villager
Member
Joined
Jan 21, 2021
Messages
27
Reaction score
6
First Language
English
Primarily Uses
RMMV
How did variables not work? It sounds like all you need to do is each time they find a book or whatever it is they are searching the book cases for, that adds 1 to a variable. And the NPC unlocks the dialog when the variable is 5.

But without knowing what you tried and how it didn't work, it's hard to advise further.

Need to ensure event pages and self switches are used to prevent player looking at same bookcase five times if using this solution.

you could also turn each event’s self switch on and then use if statements in the script option to check all five self switches are on.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
661
Reaction score
283
First Language
english
Primarily Uses
RMMV
each bookcase increase variable +1 but also turn on self switches so cant just talk to 1 case 5 times.
 

EsteeDee

Warper
Member
Joined
Jan 20, 2021
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
How did variables not work? It sounds like all you need to do is each time they find a book or whatever it is they are searching the book cases for, that adds 1 to a variable. And the NPC unlocks the dialog when the variable is 5.

But without knowing what you tried and how it didn't work, it's hard to advise further.
Yes that's exactly what I did but it never triggered the dialogue tree, I'm guessing I messed up the variable process some how. Basically you don't get anything from the book cases you just search them and once you talk to the npc saying you didnt find anything it unlocks a new dialogue tree where they give you a key for the room that does have it....if that makes sense lol
 

Lady_JJ

Veteran
Veteran
Joined
May 6, 2019
Messages
198
Reaction score
114
First Language
English
Primarily Uses
RMMZ
Set up 5 events, 1 for each bookcase. Each of the 5 events will be similar, if not exact.
Page 1-(no conditions) Dialogue that says something like "You search this bookcase, but find nothing", add 1 to your searchBookcases variable, set self switch A on
Page 2 (self switch A as condition)-Dialogue that says "You already searched this bookcase, but it never hurts to look again. Nope, still nothing."

NPC
Page 1-(no conditions) Dialogue "Try searching the bookcases. I'm sure you haven't searched them all."
Page 2-(condition variable searchBookcases >= 5) "You searched all the bookcases and didn't find anything? Oh, heh heh, silly me, I forgot. I locked it in another room. Here's the key."
 

EsteeDee

Warper
Member
Joined
Jan 20, 2021
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
Set up 5 events, 1 for each bookcase. Each of the 5 events will be similar, if not exact.
Page 1-(no conditions) Dialogue that says something like "You search this bookcase, but find nothing", add 1 to your searchBookcases variable, set self switch A on
Page 2 (self switch A as condition)-Dialogue that says "You already searched this bookcase, but it never hurts to look again. Nope, still nothing."

NPC
Page 1-(no conditions) Dialogue "Try searching the bookcases. I'm sure you haven't searched them all."
Page 2-(condition variable searchBookcases >= 5) "You searched all the bookcases and didn't find anything? Oh, heh heh, silly me, I forgot. I locked it in another room. Here's the key."
Thank you so much! I was able to finish my prologue thanks to your little tutorial there. I really appreciate!
 

Latest Threads

Latest Posts

Latest Profile Posts

Another character battle theme
Sorry everyone. Covid rules made me a laptop potatoe and I would need more exercise and past 2nd invasion I am still fighting for space also here. So I am not enough often here and... well I answer even less to my e-mails. DC is saying a huge HI to everyone with her heavy wet purrings.

You all take care in here ^^
traficaccidence.jpg
"It's time to add cars into the city!"
--- Famous last word of the developer's character before hit by a car :kaoswt2:
Yay, our new game, Causality is finally released on Steam!

Forum statistics

Threads
110,494
Messages
1,053,721
Members
143,590
Latest member
dapperteddy1990
Top