RePeat

Veteran
Veteran
Joined
Jul 24, 2021
Messages
32
Reaction score
11
First Language
German
Primarily Uses
RMMV
I made a one-use key item for a specific point in my story that teleports the player to a new location through a common event. In the same common event there's a scene, where there are multiple people talking. During the conversation one of the NPCs is supposed to walk away but that ain't happening. Is it just not possible?

The Player Character is able to walk a set path, everyone else isn't. The game just waits while no one is actually moving.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,305
Reaction score
8,750
First Language
German
Primarily Uses
RMMV
done correctly, a common event should have no problems controlling another event.
so if that doesn't happen, you did something wrong with the event.

show us screenshots of the event and we can start looking for what you did wrong.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
2,976
Reaction score
2,299
First Language
EN
Primarily Uses
RMMZ
You have something like this, right?

Transfer Player Set Move Route: Player Set Move Route: Event 1 Set Move Route: Event 2
The event move routes will do nothing in this setup, due to a specific check in the core scripts: the character to move must be on the same map as the event that is doing the moving. A reserved common event is treated as a member of the map on which it is reserved. See Game_Interpreter.prototype.character in rpg_objects.js for details.

Instead, I recommend using an Autorun event on the destination map to control the post-transfer cutscene.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,138
Reaction score
15,534
First Language
English
Primarily Uses
RMMV
Does your common event transfer the player to a new map and then do the character movements?

As far as I remember, XP is the last engine that would let you do that. With later engines, if it recognized that you had changed maps, it would no longer move any events. It doesn't matter if it all happens within the same event or within a common event. When I was making my game, I actually removed this check from the code because I wanted a single common event to be able to do this sort of thing over multiple maps.

So you should have the common event attached to the key item ONLY transfer the player to the new map. The cutscene should be an autorun event ON the new map.


edit: if only I typed a little faster :D
 

RePeat

Veteran
Veteran
Joined
Jul 24, 2021
Messages
32
Reaction score
11
First Language
German
Primarily Uses
RMMV
Thanks, guys. Good to know you are just not supposed to do that after all. I was wondering and wondering where things went wrong.

I ended up replacing the move command with a switch that activates a parallel event on the new map.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,138
Reaction score
15,534
First Language
English
Primarily Uses
RMMV
It should be autorun for a cutscene. Otherwise the player will be able to move around while the NPCs are moving.
 

RePeat

Veteran
Veteran
Joined
Jul 24, 2021
Messages
32
Reaction score
11
First Language
German
Primarily Uses
RMMV
In my case this works best, as the walking NPCs is more of a background thing and while that happens the dialogue is still going on that I put in the common event.
 

Latest Threads

Latest Posts

Latest Profile Posts

Apparently Amazon Prime users get free Genshin Impact stuff like primogems and whatnot every month, but I'm not sure I ever want to fall into the abyss of F2P ever again.
Doing RPG Maker News for 26th Nov to 2nd Dec (2021)

"Yeah. It's been a rough road lately. But that's the thing about the Rangers. It doesn't matter how hard it gets, or how many of them fall. They never stop fighting. The Rangers NEVER stop fighting".

Angela Deth, you are a hero of mine. Sorry for my first run of Wasteland 3.
We must press on. For all those we couldn't save. For all those we might yet save.
FirestormNeos wrote on DarkPlasmaBall's profile.
asking this here instead of the thread in question to avoid derailing it, but I'm curious; is there a particular reason you'd include a "Terms of Use" for an RPG Maker game? Like, are there multiplayer features for the game you're working on?

Forum statistics

Threads
117,143
Messages
1,104,922
Members
153,210
Latest member
hairfactory5s
Top