I'm trying to make an event where the player follows an npc. I've set it up and everything works... but the pc refuses to follow the path. For example, if I set the event to move 1 step forward, the pc will keep moving until it hits the border of the map. The pathing for the npc works fine but I really don't know what's wrong with the other setup. I've tried using parallel and autorun
Movement route issue
RPG Maker MV SupportIs the 'Repeat Movements' checked on movement route options? Make sure that is unchecked.
Verify too if there is no other event manipulating the same event's movement and if this movement order doesn't being read more than one time.
Verify too if there is no other event manipulating the same event's movement and if this movement order doesn't being read more than one time.
Repeat movements isn't checked. For a moment I was hoping it was as that might've been my fix. No luck tho 🙁
please give a screenshot of your event - there are a lot of cases how this could go wrong, the one mentioned above is only one of them.
Another one is that you might be using the wrong command - "step forward" means to go a step into the currently facing direction, if you don't turn the event it will never follow another but always continue into that single direction.
EDIT
And autonomous movement automatically repeats, you can only turn off repeating when using the set move route command - which should not be inside a parallel process as that will also force a repeat.
Another one is that you might be using the wrong command - "step forward" means to go a step into the currently facing direction, if you don't turn the event it will never follow another but always continue into that single direction.
EDIT
And autonomous movement automatically repeats, you can only turn off repeating when using the set move route command - which should not be inside a parallel process as that will also force a repeat.
Here is a SS, it's the second step in the event, first step works fine.
Post the rest of the event please. If that event is a parallel process or autorun, it will always run, which means you will always move forward.
@Dope
please give a full screenshot, do not crop away the most important parts of the event - we need to know what triggers those commands, if there are any event pages with higher priority and so on.
please give a full screenshot, do not crop away the most important parts of the event - we need to know what triggers those commands, if there are any event pages with higher priority and so on.
Yeah I thought about that in retrospect, here you go. I think that's all of it.
Unfortunately those screenshots show a lot of problems and indicate that you didn't really understand how events work or how they are triggered.
I really suggest you follow the link to the starting point in my signature and work through some of the general eventing tutorials linked there.
Let's start with the first event, the tour guide.
Every event can have only one movement route, setting another one will override and delete the previous one - no matter if that move route is set by autonomous movement or by set move route. Which means that as soon as the switch is turned, that event gets its move route randomly overwritten by either autonomous movew route or by the set move route, and you'll never know which one is active at any given frame.
Why have the page on parallel process and then use a conditional branch to only activate those commands after the switch is turned?
It would be a lot better if you make this into two pages, one containing the autonomous movement part and one containing those code commands, with the switch not checked by conditional branch but set in the page conditions.
Third, higher page number = higher priority - we need to see pages 2 and 3 to be able to determine if something there is overriding your other commands.
on the player touch event that triggers the rest (which is probably something to step on, the wait300 is useless because there is nothing to happen after that wait...
I really suggest you follow the link to the starting point in my signature and work through some of the general eventing tutorials linked there.
Let's start with the first event, the tour guide.
Every event can have only one movement route, setting another one will override and delete the previous one - no matter if that move route is set by autonomous movement or by set move route. Which means that as soon as the switch is turned, that event gets its move route randomly overwritten by either autonomous movew route or by the set move route, and you'll never know which one is active at any given frame.
Why have the page on parallel process and then use a conditional branch to only activate those commands after the switch is turned?
It would be a lot better if you make this into two pages, one containing the autonomous movement part and one containing those code commands, with the switch not checked by conditional branch but set in the page conditions.
Third, higher page number = higher priority - we need to see pages 2 and 3 to be able to determine if something there is overriding your other commands.
on the player touch event that triggers the rest (which is probably something to step on, the wait300 is useless because there is nothing to happen after that wait...
Hmm I see, in that case I'd have to set it all up as one route I guess. But how would that work if I need conversations to happen in between stops? Make one event per route and just string events together? I'll figure it out.
I'll admit I don't understand everything the the fullest, but I have looked at tutorials and such. That means nothing for me tho as I'm a kinesthetic learner, I have to actually do it to learn it. Reading something is great, but reading and applying are two different things.
Thanks for your help.
I'll admit I don't understand everything the the fullest, but I have looked at tutorials and such. That means nothing for me tho as I'm a kinesthetic learner, I have to actually do it to learn it. Reading something is great, but reading and applying are two different things.
Thanks for your help.
no, you misunderstood again - you can make as many different move routes as you want, you just need to make sure that each move route is completed before another one is applied - that is what the wait option is for.
But that wait option does not exist for autonomous movement, because that movement is intended to be repeated - which is why it can't be mixed with regular set move route commands unless you know exactly what you're doing (and even then it's tricky and I would advice against trying it)
That is why I said those two parts need to be on different pages.
Oooooooh! So if I say wait, it counts as a completed movement and I can start another set? As far a as the one I had set to auto, that was originally on parallel, not sure if that matters, but i switched to auto to see if it made a difference. It didn't, as I'm sure you understand why. I was confused because the npc moves fine, I'll pay more attention to that.
I wasn't talking about autorun, I was talking about autonomous movement - that is the title of the area between the sprite and the content, and there is nothing there that could be switched to "auto" - it could only be switched between fixed, random, approach and custom (you have it on custom in your screenshot).
And it needs to stay at "fixed" if you want to use the set move route command in the content area.
I suggest you take some time off from game developing to work systematically through the tutorials before continuing, because guessing what something does is the worst why to go about game development. The link to "A starting point for beginners" in my signature will guide you to the basic tutorials.
Heh. I don't really want to argue with you, you obviously know far more about game development and coding than I do. I will say this though, I'm developing a game, or attempting to do so, for fun. I am not a professional game developer and I don't expect hordes of people to play my game. It's a learning experience for me, frustrating sure, but overall I like going in and getting my hands dirty as I try to create something. Stop f*****g telling me to stop. Stop telling me to read your expose on game development. I have actually already read some of it before you linked it, you are all over these forums and it's not hard to come across. It's good stuff. But seriously, stop. I know you mean well, but either help me, or let me screw up and learn from my mistakes. I will eventually get it. The event works now too btw, splitting the movement into separate events did the trick. So I snapped at you, but I do appreciate your help. Stop telling people to stop trying tho, we don't all need to be CD Projekt Red off gate. Not that I'll ever be anywhere near their calibre, but you get the point. Again, I appreciate the help!
you misunderstood quite a bit here - I'm not a professional game developer either, and I'm not telling you to stop game development, I'm trying to teach people how to do it correctly in order to prevent them from dropping their projects out of frustration for not understanding what goes wrong with their projects.
Everyone around here who has tried to "learn by doing" without any tutorial or guidance has admitted that in hindsight, they wasted about a year of their working time and scrapped (or completely redid) their first project simply because they didn't understand what they were doing wrong and why it didn't work at first.
And unfortunately, 80% or more of all people who hit that stage of development don't restart but leave game development completely. I just want to reduce that number by telling people that it will take a lot more time and work if they try to storm ahead without the basics.
Everyone around here who has tried to "learn by doing" without any tutorial or guidance has admitted that in hindsight, they wasted about a year of their working time and scrapped (or completely redid) their first project simply because they didn't understand what they were doing wrong and why it didn't work at first.
And unfortunately, 80% or more of all people who hit that stage of development don't restart but leave game development completely. I just want to reduce that number by telling people that it will take a lot more time and work if they try to storm ahead without the basics.
Original thread: https://forums.rpgmakerweb.com/threads/movement-route-issue.79931/