Am I doing something wrong? I wanted my bat to pace back and fourth until he sees my character and then fight...but, I put the movement route below, where the arrow is pointed, should I put it above the event chase player commands? Thank you for any help
MV Yanfly Event chase player confusion
Javascript/Plugin SupportAm I doing something wrong? I wanted my bat to pace back and fourth until he sees my character and then fight...but, I put the movement route below, where the arrow is pointed, should I put it above the event chase player commands? Thank you for any help
To do what you're describing, I think you would have to either:
1 - Put the script commands inside a conditional that checks the distance from the player and use an else condition to set the patrolling move route manually
or
2 - Use two different event pages. The first has the patrolling movement and parallel trigger event commands continuously checking the distance from the player. If it's close enough, it turns on a self switch and the second event page has what you show to make the event chase the player
1 - Put the script commands inside a conditional that checks the distance from the player and use an else condition to set the patrolling move route manually
or
2 - Use two different event pages. The first has the patrolling movement and parallel trigger event commands continuously checking the distance from the player. If it's close enough, it turns on a self switch and the second event page has what you show to make the event chase the player
Thank you so much for responding, I'll give those a try later tonight
Ok, so how'd it go? Did you try it out yet?
...I don't think most people would consider 8 whole minutes to be "later tonight".
You're right; I don't know why I said that.
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-event-chase-player-confusion.161031/