eliaelia123

Veteran
Veteran
Joined
Mar 24, 2023
Messages
59
Reaction score
26
First Language
Deutsch/German
Primarily Uses
RMMV
Hey,

i'm new to RPG Maker (i have MV). I want to create a "timed" event. Not sure if you would actually call it like that in english so i'll explain what i mean.
I have an NPC in a house, who gives you the task to find something. What i want to happen is you leave, do other stuff, look for it, can't find it and when you go back and talk with him, he will say he already found it and give you some gold.

I came up with solutions how to do this, but none which whom i'm really happy.

1.) You put an event outside the House, if player steps on it, an variable/switch changes and when you talk with him again, dialog changes. Problem is, if the player knows that, he can just leave and go in again and kinda "cheese" the quest.

2.) Make variable, that if you talk with enough other npcs, his dialog changes. Problem, then if the player meets other npc first, it kind of has the same problem as the first.


Couldn't find a thread about it, but i wasn't sure how to search on english for it either.
Anyone got an idea how to solve this?
Hope you can help me and thanks in advance!
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,045
Reaction score
16,852
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Thank you.



Let's say you want the NPC to have found the item 10 minutes after asking the player to search for it.

On event page 1, the NPC will give the player the quest. Use Control Variables to set a variable to the current game time (that's in Game Data > Other > Play Time). Turn on self switch A (or a regular switch, if you want other things to change their behaviour when the player has the quest).

On event page 2, set self switch A as the condition. Use Control Variables to set a different variable to the current game time. Then use Control Variables again to subtract the first variable from the second. The result will be how many seconds have elapsed since the quest was given.
Then do a Conditional Branch saying if the second variable is 600 or more (60 seconds * 10 = 10 minutes), you can do the "I found it myself" stuff.
 

eliaelia123

Veteran
Veteran
Joined
Mar 24, 2023
Messages
59
Reaction score
26
First Language
Deutsch/German
Primarily Uses
RMMV
@Shaz
Ok, thats like a perfect solution, thanks!

Where exactly do i find Game Data>Other?
Or do i need a plugin?
I found something called Databse, but there is no other.


Nevermind, found it.
 
Last edited:

Latest Threads

Latest Profile Posts

Dial_000_f002_show.jpg
Wohoo, its finished. It took some time but slowly I get used to this retro 90s anime style.
Now I just have to finish the other 37 frames. for the first dialogue... oh lord, what have I done :LZSlol:
(and if you are confused: yes, I place various eastereggs about other great cyberpunk games/videos/books that I like in my game ;) )
Has anyone watched the movie "Tiny Toons: How I Spent My Summer Vacation"? It is a cartoon and it is freaking hilarious. We watched that movie so many times when our kids were growing up. Thankfully it has a lot of adult humor to keep the adults entertained that the kids don't really get.
Here's some more weapon icons for the Wastes I've finished recently. Some are mine, some are icons that @Ninjakillzu originally made (the AK variants, the Thompson, the Glock, the M16 variants), but edited by me with permission.
1686428693206.png1686428742838.png
Still working on balance issues for my almost-out Cube Trail demo... Boss balance is no joke.
Did i create a damage calculation for consecutive skill use per actor that I may not even use? Yes. Do I have regrets spending so long on it? Also yes.

Forum statistics

Threads
131,777
Messages
1,223,286
Members
173,553
Latest member
Coraz0n
Top