I'm setting up an event where the player follows an NPC around, standard event, nothing spectacular. It was working fine for a while, however, one of the middle portions of the event stopped working. I can think of no reasons for it to have stopped working, it was literally working just fine before I added a later part, which didn't change any prior parts of the event. The player is supposed to continue following the NPC in the room, but the NPC just stands there not moving and the game is essentially frozen. But I can open up the menu, obviously. Sometimes I feel like RPG Maker is seriously working against me.
Is there anything that would cause move route to not work, even if there is nothing blocking the event and the variables are correct? Game is for mature audiences, think Fallout but as a jrpg with magic in a modern/fantasy setting without having been nuked. Ignore the name 😉
Are there any events in the way of the event?
Might be because the event trigger is set to parallel. Cutscene events should be autorun as to prevent the player from moving during them.
Check if your tileset broke the passability - can you manually move that route if you disable the event?
I was pretty sure the tileset was fine, just checked to be sure and I can walk all around that map. There is nothing blocking, in terms of impassable tiles/event obstructions blocking the way of the event to move forward.
Is there another event with a set move route command? Or a common event?
All characters can have only one move Route, assigning a new one deleted the previous one.
This is the biggest danger when assigning move routes by parallel or autorun: if the event repeats to fast (if no wait is checked) then it overwrites its own move route.
Same goes for mixing set move route and autonomous movement: they over write each other.
There are multiple move route commands.
The "event" starts on map A. The player walks into the map and the first event auto starts (it was parallel but a previous comment clued me in that autostart is better for this kind of thing). Dialogue starts then the player follows the first event which transfers the player to map B, where another event auto starts. More dialogue and the player follows the second event back to map A, where another event auto starts, causing the player to follow the third event and transfer to map C. This is where the problem occurs and the fourth event won't move, but the player has followed three separate events up to that point just fine using the same setup.
I had one run where I put three show text in front of the move route and the event worked, don't ask me why. The subsequent events after the fourth also work, this one in the middle just decided not to work as I added more events to the chain.
Timing problems...
I suggest you follow the link to "bughunting" in my signature and read through that, then rework your events to use as few controller events as possible - the higher the number of parallels, the higher your timing problems becomes.
Hmm. ok. I checked out the link. Useful stuff.
I think I get what you mean when you say timing problems but I don't think I can do what I want with one event/auto run process. Also, if it's timing issues, what does show text have to do with move route? I inserted 3 blank show texts before the move route and now the event works. What did the show text do?
Events seem to run their course, even after area changes. Can you set the later autoruns to start on condition of a switch, and you only set the switch a bit after the transfer. Something like
transfer to room B
wait 30
set switch "moved to room B" ON
and then the autorun even in the room B also having that condition so it can't start before you definitely are there and the previous event has ran it's course. No idea if that can fix the timings but...
I tried setting the condition based on if the player is on a specific map since I already have a variable for that (I'm running out of room for switches). Game keeps track of the player but it didn't help with the timing.
I haven't had an event where the player follows an NPC since I first started making the game and I'm probably going to scrap/rework this one before it's over and done with. I'm no expert programmer so I can't say that my opinion on the matter holds much weight, but as far as I'm concerned they way RPG Maker handles move routes is asinine and not intuitive at all. At least for more detailed things... Not really sure what to do about the timing and I have no idea how I'd go about putting the entire route in one auto run event. *sigh*
Have you turned "Through On" for the event's move route and seen what happens? I know you said there are no impassable tiles, but I wonder what would happen anyhow if you tried that? If that fails, then it's definitely something going wrong in the timing aspect, I'd imagine...
Clicking through, or turning through on in the move route que doesn't do anything. I'm almost positive it's a timing issue like Andar said. I just don't know how to solve it so I'm going to change how the event works because that's the easiest solution. I don't understand why move route works the way it does but, whatever, stressing it isn't going to make it work differently. I just won't have the player follow any events; ever.
Gotcha'. When I run into frustrating broken events like this, I copy the map, then just start deleting events and such around the test map until it works, then find out what it was I deleted it that fixed the issue. This may not be how your map / event is set up, though. Anyhow, best of luck!
That would probably work if it was just one event on one map, but since it's multiple events spanning multiple maps, that's not going to do much. Stand alone, the routes work. But by the time the player has gotten to this event, 5 other move routes have been executed on the player and another 5 spread out between 3 different events. It's definitely a timing issue but I still don't understand because the move routes are targeting different events not the same one. Like I said though, I'm just going to scrap the tour. It's not worth the trouble to make.