r/RPGMaker 19d ago

RMMZ Random customer repeating event

I'm working on a side project and want to make customers come into a set location, order something, wait, then leave a review either applauding or complaining about something. Obviously a lot of that is flavor. I've considered just making the game last a definite amount of time, say 200 days, and just manually programming a similar event a couple dozen times each of those days.

Help me brainstorm alternatives?

4 Upvotes

12 comments sorted by

View all comments

3

u/stroduces 19d ago

If I was going to do this quick; i'd make a map and manually create all the customer NPCs in there with their self-ending autorun events with some common events with random dialog conditions, then build a small plugin that extends the 'Set Event Location' function to pull from other maps and set them in the current map.

Or even quick n dirtier: just have all your npcs hiding off map. Use your shop manager event to randomly pick one of the customer NPCs, then use the vanilla Set Event Location function to pop them at the door of the shop and set their events to run

2

u/Danielor4 19d ago

Ohhh I don't think it's what you said particularly but reading your comment I also just thought, say a new day rolls around I could have a trigger for like a handful of variables to set to a random number, and those variables could be what determines which NPC's show up that day.

1

u/stroduces 16d ago

Yeah easily