Hello,
I am creating a scene where the main character can trigger a trainer's responses by walking within their line of sight just like in the original Pokémon games. I am not doing the battle scene, I just want to set a trigger from a nearby trainer and that is enough. This means I walk in front of the trainer, I freeze, he walks to me and says something and I go. Can do battle later.
Problem: If I return to any of the remaining 6 (7 total) tiles, it will attempt to reactivate the line of sight. How do I make it ignore the event even if the player returns back to one of the 6 remaining tiles?
Here is an image of my events:
In front of the trainer, I have 7 "player touch" event tiles. Each player touch tile directs the trainer closer to me (the player) depending on how many blocks are away.
My question: If I go on any of the seven-player tiles, it will trigger the trainer (in this case its Ash). He would approach me just like in the game. However, there is one problem. If after encountering the trainer (Ash), I go back to one of the previous seven player touch tiles in line with the trainer's sight, it would result in a glitch/repeat and freeze. How do I make it so I can establish a line of sight trigger like in Pokemon, and how do I fix the issue of going back to one of the already placed 7-player touch tiles without it recreating the event of Ash/trainer going to me?
I trigger the trainer/ash by going through his line of sight (player touch tiles). If I go back to one of the 7 player tiles, how do I prevent it from doing the same thing?
I am creating a scene where the main character can trigger a trainer's responses by walking within their line of sight just like in the original Pokémon games. I am not doing the battle scene, I just want to set a trigger from a nearby trainer and that is enough. This means I walk in front of the trainer, I freeze, he walks to me and says something and I go. Can do battle later.
Problem: If I return to any of the remaining 6 (7 total) tiles, it will attempt to reactivate the line of sight. How do I make it ignore the event even if the player returns back to one of the 6 remaining tiles?
Here is an image of my events:
In front of the trainer, I have 7 "player touch" event tiles. Each player touch tile directs the trainer closer to me (the player) depending on how many blocks are away.
My question: If I go on any of the seven-player tiles, it will trigger the trainer (in this case its Ash). He would approach me just like in the game. However, there is one problem. If after encountering the trainer (Ash), I go back to one of the previous seven player touch tiles in line with the trainer's sight, it would result in a glitch/repeat and freeze. How do I make it so I can establish a line of sight trigger like in Pokemon, and how do I fix the issue of going back to one of the already placed 7-player touch tiles without it recreating the event of Ash/trainer going to me?
I trigger the trainer/ash by going through his line of sight (player touch tiles). If I go back to one of the 7 player tiles, how do I prevent it from doing the same thing?