Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Simple Question: Walking Independantly

Basically, what I want to do is have the player talk to an NPC.  When the conversation is over, I want to change what the NPC says when spoken to, and have him walk to a certain place.

But I'd like the Player to be able to walk around while that NPC is still going to his destination.

Its been years since I touched an RPG Maker so I'm rusty on the events, I'm probably doing something obviously stupid.  Basically, here's how I'm trying to set it up.

Page1: On action button, print text, and switch self switch A and B to on.
Page2: If A is On, when action button is pressed, print different text.

Page 3 is where I'm confused.  I'm trying to put the move route info in here and is active when B is on.  After the move completes, it turns B back off.  I've tried autorun and parallel process, but it never works properly.

EDIT: And sort of as an addendum, what's the easiest way to make two players/NPCs move at the same time?
 
Here's how I would do it.

Page1:  Print text, switch A on.
Page2: If A is on, print different text. Then turn on switch B.
Page3: Move route info, turns be off after the animation is finished.

What seems to be happening is, by turning A and B on at the same time, it's conflicting because its trying to load two pages of different events.

EDIT: I just tested it, this method works perfectly.
 
Aeiras":34a2mcbu said:
Here's how I would do it.

Page1:  Print text, switch A on.
Page2: If A is on, print different text. Then turn on switch B.
Page3: Move route info, turns be off after the animation is finished.

What seems to be happening is, by turning A and B on at the same time, it's conflicting because its trying to load two pages of different events.

EDIT: I just tested it, this method works perfectly.

My only concern with that is the second thing is just a standard text that he will keep saying until the player completes a task.  He's supposed to start moving immediately after saying the first block of text.

If I'm understanding what you've posted correctly, he wouldn't start walking until the player spoke to him a second time.
 
Alright, they way you posted it it made it look like he was supposed to move AFTER the second block. In that case, let me write up an event and post it here. Just a moment.
 
Aeiras":333vlb19 said:
Alright, they way you posted it it made it look like he was supposed to move AFTER the second block. In that case, let me write up an event and post it here. Just a moment.
Yeah, basically what I want is this.

1. Player talks to NPC, NPC tells him to do something.
2. NPC starts walking to different location.
3. If player talks to NPC again before performing task, NPC reminds him of what he should do.
 
One other question, is he supposed to keep reminding him even after he's gotten to his location, or does he say something different once he arrives at his location?


EDIT: I'm going to try and get this working. It may just take a bit of time.

EDIT EDIT: Got it!

Page 1:

@>Text: (Whatever)
@>Control Switches: [A] = ON

Page2:

Set it to activate when Switch A is on. Set the move route for page 2 to Custom, set his movement, Frequency and Speed to what you prefer. In the actual code, just print the text you want.


Worked for me.
 
Aeiras":2u13r2x5 said:
One other question, is he supposed to keep reminding him even after he's gotten to his location, or does he say something different once he arrives at his location?


EDIT: I'm going to try and get this working. It may just take a bit of time.

Nah, he keeps saying the same thing.

I think I just got it, for the most part though.

I forgot to add "Wait for move's completion" to the third page.

I just have a couple other minor questions.

1. It's working okay now, but you can't talk to him while he's still walking, you have to wait until he reaches his destination.  Any way to make him talkable while he's still in transit?

2. What's the best way to make multiple NPCs move at the same time?

3. I used an event to make a mailbox, but the image is from a charset.  Everytime I use the thing, it "animates" and changes into a different graphic.  I've been playing around with it, but I'm missing something.  How do I make it stay the same picture?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top