I have made a npc that can talk and walk. The problem is, I want the character you're playing to follow him. ( While he is walking ) and once you've arrived to your destination, make the npc say something. I've unchecked wait for completion but then he says the text I've written automatically after. I don't want him to do that. Should I put a timer or something? Help wanted 😛
Wait for completion problem..
RPG Maker VXAce SupportPlease post a screenshot of your event, there are too many possible placed for bugs for us to solve without seeing what you have done.
(for example, synchronous movement requires a combination of checked and not-checked wait for completion on several set move route commands)
(for example, synchronous movement requires a combination of checked and not-checked wait for completion on several set move route commands)
http://puu.sh/hKjlN/186d79d7c4.png This is the second tab of the code, This happens after this one: http://puu.sh/hKjoc/9d2c002793.png
So in the first link you see what happens after the second link.
The NPC walks up to you, and then it goes to tab B.
Also a screenshot of the movement route in tab B : http://puu.sh/hKjqq/42999935a0.png
Thanks in advance.
So in the first link you see what happens after the second link.
The NPC walks up to you, and then it goes to tab B.
Also a screenshot of the movement route in tab B : http://puu.sh/hKjqq/42999935a0.png
Thanks in advance.
There is no need for the self-switch to the second page, everything can be done in a single page. Just copy the code from the second page to the bottom of the first.
For making a player follow an event, you need two set move route commands. The first should be targeted on the event and NOT be set to wait, the second one should be targeted on the player and has to be set to wait, if the event should continue after the player reaches the last position.
Two things can make this difficult, both need to be handled at the beginning:
1) If the player follows exactly the same route (instead of walking side by side), then the player needs to wait a few frames before moving, or he would run into the event and be blocked.
2) If the event can be triggered from different sides, then you need to use conditional branches with facing checks to identify where the player stands and add the first move command depending on where he has to step to follow the event.
It usually is easier to make the map in a way that the player can only trigger the event from one side of the event
For making a player follow an event, you need two set move route commands. The first should be targeted on the event and NOT be set to wait, the second one should be targeted on the player and has to be set to wait, if the event should continue after the player reaches the last position.
Two things can make this difficult, both need to be handled at the beginning:
1) If the player follows exactly the same route (instead of walking side by side), then the player needs to wait a few frames before moving, or he would run into the event and be blocked.
2) If the event can be triggered from different sides, then you need to use conditional branches with facing checks to identify where the player stands and add the first move command depending on where he has to step to follow the event.
It usually is easier to make the map in a way that the player can only trigger the event from one side of the event
Original thread: https://forums.rpgmakerweb.com/threads/wait-for-completion-problem.39903/