[SOLVED] HELP! Unlocking events randomly and adding them to an interactive list.

Hi everyone!
Fist of all, if i'm in the wrong forum section i apologize, feel free to move this thread in the right place, or please just guide me to the right section!

Anyway, I have a problem, I'm trying to make NPCs that after a short chat show you a clip and then give you their phone number. No big deal here!

The problem is that I would like to create a list with the names of the characters that will update itself every time that MC unlocks their phone numbers, so that from a landline phone in MC room you can select a name and start the event or the video corresponding to the selected name.
Of course there isn't any unlocking order to respect, no NPC is forced to be unlocked first or second, in that case it could be done with simple switches!
So, since the unlocking order is totally random, how am I supposed to do the listing event?

I can't find plugins or specific solution to my problem anywhere...
Any Idea?

I think this belongs in MV Support, so I'm moving it there.

How many names/numbers are we talking? How were you going to set up the list? How were you planning on having the player access the list? Cuz you could do this with switches, then an event for the list with a bunch of nested If/Else statements regarding which switches are on, leading to a "player choice" command. But I would hate to set something like that up if you've got more than six people on that list.
The plan is to add more NPCs each release, so there isn't a fixed number, it will be a growing list over time, tis list will be like a phonebook in the MCs landline so that when the player clicks on the phone event it will show like "who do you want to call?" And then the list of the unlocked characters and a "Leave" option. Each character will have a clip that will show when the player choose the character he prefer.
I hope it's more clear....
Thanks in advance for your help!
The problem is, you only get six lines in the "Show Choices" command. But regardless, even when using a plugin to add more lines, the way I was suggesting doing it would be a pain/mess and difficult to add more names later on (ie, you'd want to make all the switches and characters to begin with, not at a later date down the road). That's because you'd be relying on if/else statements to decide who's on the list. Say you have three people, represented by switches 1, 2 and 3. It would go like this:

IF - switch 1 is on
- IF switch 2 is on
--IF switch 3 is on
--- show choices: 1, 2, 3
--else, show choices 1, 2
-else
--If switch 3 is on
---show choices 1, 3
else
-IF switch 2 is on
--IF switch 3 is on
---show choices 2, 3
--else
---show choices 2
-else
--IF switch 3 is on
---show choices 3

Or something like that. (I would just copy and paste code here but I'm on my other computer that doesn't have MV installed and can't just hop on the other one since it's in a different city. So hopefully this makes sense.)

[edit: For a long list, you'd want the last choice to be something like "next page" and then if that is selected, it opens a new list.]
Well, the real problem here is not how much names the list shows, it's easy fixable with a "new page" choice when the first conditional branch ends, the problem here is: if I prepare a list of characters, then I should hide the names of the locked characters and unlock them someway.
If I will make a progressive "randomly self-updating" list, I don't have the foggiest idea about how to proceed....
The fact is that I can't make the characters to be unlocked in a sequence because I thought to put tem around the city and let the player decide....😐
You'll need switches to determine which names are active and which not - that is the best and easiest way to allow for a random triggering order.
And for the rest I suggest you search for tsukihimes blog and use her plugins for conditional choices.
That would allow you to have each choice option conditioned to another switch, making it only visible if that switch is turned on. This might have some scroll problems in longer lists however.

Anything better than that combination would require a custom plugin that does not yet exist.
Mmmm...
Yes for the random triggering order the switches are perfect, the initial idea was, in fact, to make a simple list where I'll put the names of the characters when they're ready, and a function/ plug-in in order to show in the front-end message only those available.
This plugin/ function exist/ is doable?
😅 (plz say yes..)
I already gave you the name of who wrote the plugin...
The blog is Hime Works, am I right? I see it has some conditional choices plugin.
Thank you for your help tho! Maybe you've saved my b..tt! 🙏
In the end i've done it with Hidden Choice Conditions and a simple multiple choices list, switches, and common events.
When the switch is off, the corresponding choice is hidden, and it will show the choice in the list once the player unlocks the NPC's switch and the common event is playable.
Thank you all for your help!!

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-help-unlocking-events-randomly-and-adding-them-to-an-interactive-list.96809/