Title says it already. 🙂
How do I let the player follow the event?
RPG Maker XP SupportIn order to make the player follow an event, use the 'Set Move Route' command in the 'Events Command' and make sure the target is set to 'Player'.
Set the movement accordingly to the movement of the event you want the player to follow.
Set the movement accordingly to the movement of the event you want the player to follow.
But that's if you stand on one specific tile?
Example:
Player talks to event from the right. Player & event go left, left, up.
Player talks to event from the left. Player & event go left, left, up. But this isn't the same. You wouldn't follow the event like in the first example.
Maybe I misread your post or I just don't understand it. Could you give a picture as a example?
This may help, depending on your circumstances: http://galvs-scripts.com/galvs-move-route-extras/
You have a few choices if you want the player to follow the event in a specific path.
1) You can make obstacles around your event so that the player can only interact with the event from certain directions.
2) You can make the event move initially in a direction that the player cannot be standing on, eg. move up first, then in the direction you want them to go.
3) If you are going to allow the player to interact with the event from multiple directions, you can use the 'Conditional Branch' command in addition to the 'Set Move Route' command.
Example 1 (making obstacles around the event with standard event commands):
Example 2 (events commands for interaction from multiple directions):
Be sure to change the player movement speed before and after following the event, and to set extra move routes for the player.
Hope this helps. Please let me know if you need clarification. 😉
Edit: @Hotfirelegend: That script is for RMVX Ace. The OP is using RMXP if I'm not mistaken.
1) You can make obstacles around your event so that the player can only interact with the event from certain directions.
2) You can make the event move initially in a direction that the player cannot be standing on, eg. move up first, then in the direction you want them to go.
3) If you are going to allow the player to interact with the event from multiple directions, you can use the 'Conditional Branch' command in addition to the 'Set Move Route' command.
Example 1 (making obstacles around the event with standard event commands):
Example 2 (events commands for interaction from multiple directions):
Be sure to change the player movement speed before and after following the event, and to set extra move routes for the player.
Hope this helps. Please let me know if you need clarification. 😉
Edit: @Hotfirelegend: That script is for RMVX Ace. The OP is using RMXP if I'm not mistaken.
What happened to the old parallel process finding the event's x and y and having the player move that direction if possible?
I mean, is that not an option?
I mean, is that not an option?
I think he is using XP.
Example 2 (events commands for interaction from multiple directions):
Hope this helps. Please let me know if you need clarification. 😉
Edit: @Hotfirelegend: That script is for RMVX Ace. The OP is using RMXP if I'm not mistaken.
Thank you!
Worked like a charm. This month I will focus on events haha.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-let-the-player-follow-the-event.44827/