How do you connect one event to another?

Natural

恭司
Veteran
Joined
Nov 30, 2015
Messages
220
Reaction score
11
First Language
English
For example I just got done talking to this NPC. But how do I get him to go talk to the other NPC (His brother) I also want them not to say the same thing after the event already took place. So like he runs to his brother but then now he doesn't say the same thing as before. But he says something different since its a new event. 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
Do you want to SEE him run to his brother? In that case, in the same event where you have all of your existing code, just add a Set Move Route, choose 'this event' (your NPC) as the subject, and add the movement steps to make him go to his brother. Check the Wait for Completion box. After everything's done, turn on a switch or self switch, then add another event page conditioned by that switch or self switch, with what he'd say afterwards.


This is pretty basic eventing, and you will do a LOT of this sort of thing while developing your game. If you haven't done it yet, I suggest you check out the beginner tutorial link in my signature to get an understanding of how this works.
 

Natural

恭司
Veteran
Joined
Nov 30, 2015
Messages
220
Reaction score
11
First Language
English
He can walk/run to his brother if they were in the same room but what about if they were in different areas like in different maps?

I'm just kind of messing around trying to get the gist of things before I make anything serious. I've seen some beginner tutorials on youtube but didn't seem like I ran into much of this type of thing. Mostly about unlocking doors or triggering a single event, etc. There's probably a couple that I missed somewhere that explained how to do this type of eventing. I'll check out your link though, thank you. 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
It's still all in switches and multiple event pages. And if you want to see him leave the room you still need to do the move route.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
He can walk/run to his brother if they were in the same room but what about if they were in different areas like in different maps?
Events cannot leave the maps they are on - but they don't need to.
What you're missing here is that events are not NPCs, they only pretend to be NPCs and you simply make a new event pretenting to be the same NPC on the other map.


But to control them correctly and to make sure that all appears in correct sequences, you need to learn how to use switches and conditioned event pages at minimum.


And sorry, you'll never learn that by watching youtube videos. Watching (or reading) a tutorial is simply a waste of your time. What you need to do is to work through tutorials.


Which basically means that you need to open the editor on one half of your computer screen, open the tutorial on the other half and then doe everything the tutorial tells you in the test project yourself, only then you can learn, understand and test how it is done.


If you can do that with a video, stopping and rewinding for every step you have to do yourself, then OK - I usually can work through tutorials better if they are in written form and I don't have to stop and replay every step.
 

Natural

恭司
Veteran
Joined
Nov 30, 2015
Messages
220
Reaction score
11
First Language
English
Yeah I know what you mean. I ended up watching someones video on youtube and had to rewatch it because I wasn't doing it right. Had to watch the hour long video again with tiles and then I ended up doing it with the tutorial. I have my PC open with the youtube videos and my Mac open with MV. It really is the only way to learn how to do this kind of thing. Also earlier I was messing around with events. I took a bit of a break though, but tomorrow I'm going to look into some more things. I really don't understand how the switches work even though I got them to work with something I was testing lol. but some of the conditional events I figured out just by tinkering with them but might not have a full understanding of them. There's a lot to learn, didn't think it was going to be easy but theres a lot of things I should prioritize instead of trying to make tiles that take up hours of my time.. I kind of understand now why people pay all this money for tiles and sprites even though I wouldn't (maybe tile sets) but It's crazy time consuming despite how people make it look like on tutorials. If you have no experience in any of this stuff its going to take like 3x to 10x as long. It's set me back a day or two on learning JS as well lol rip. 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
I really don't understand how the switches work even though I got them to work with something I was testing lol.
There are tutorials on switches, and they are probably the most important thing to get right if you want to make a game that contains anything connected.
Follow the link of the starting point I wrote to get to some of the better tutorials.


However, one of the better explanations of switches is to compare them to where you encounter them in everyday live:


How do you make light in your rooms? Usually you turn on a switch.


But to give light, the switch alone is not enough - you just have to remove the lightbulb to see that turning the switch itself produces nothing.


You always need two things: a switch and something that reacts to that switch, and they need to be connected.


In the case of your room, that is the lamp (condition: if switch is ON then give light), the switch itself and the electrical wires connecting them.


In the program, that connection is made by the ID-number of the switch, and there are several ways to place a condition on that switch - either by conditional branch or by conditioning an event page (top left area of the event) or by triggering a common event and more.


In the case of the event page conditions, you need to keep in mind that higher page number = higer priority when ordering the pages.
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top