RePeat

Regular
Regular
Joined
Jul 24, 2021
Messages
39
Reaction score
15
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

Regular
Regular
Joined
Mar 5, 2013
Messages
39,297
Reaction score
11,477
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
5,019
Reaction score
4,346
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

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,958
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

Regular
Regular
Joined
Jul 24, 2021
Messages
39
Reaction score
15
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

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,958
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

Regular
Regular
Joined
Jul 24, 2021
Messages
39
Reaction score
15
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

Trying yet another hairstyle for Eliza and also been playing around with lights and shade
TSR
Capture d’écran, le 2023-06-18 à 12.53.13.png
At the end of chapter 1, the party get the world map key item which enable a mini map on the overworld. Alternatively, you can 'use' the world map from the item menu to see this representation of the world.
Have a nice weekend :cutesmile:
Baby sketches
VwUqfJ7hG9Y.jpg
She caught you for doing questionable stuff
383001878_10223238866908166_8958319270677218922_n.jpg
Me trying art tutorials be like:
Artist: Okay guys, you're just going to want to start with a simple circle as your base
Me: Man, mine looks nothing like the picture
Sqaure.png

Forum statistics

Threads
134,747
Messages
1,250,256
Members
177,504
Latest member
WaronAeiss
Top