Hello again!
Since I implemented criminal elements in my game (pickpocketing and lockpicking, for example), from which players can profit, I also want to balance things by having a punishing aspect to crimes. One way that comes to mind is the police or something similar to it.
Thus I wanted to ask if there was a way to have an NPC (or multiple NPCs) appear next to the player, without knowing the exact location of the player at that time.
Example:
You try to pickpocket someone but fail. Your failure triggers another event, which counts down a certain amount of time (say a couple of minutes), during which you can continue to play as usual (and possibly try to leave the area in which you failed to rob someone). Once the time has run out, the police appears next to the player and something happens (possibly a fight, for example).
Can you do that? And if so, how?
I only know of events similar to the rival appearing, but in those cases you know exactly where the player is, since the event starts on a certain spot. But can you do the same thing without a "set in stone location"?
One solution I thought might work was making an empty "FollowingPokemon" Event which you then exchange with the police officer. But
Thank you very much for your assistance in advance! :)
Since I implemented criminal elements in my game (pickpocketing and lockpicking, for example), from which players can profit, I also want to balance things by having a punishing aspect to crimes. One way that comes to mind is the police or something similar to it.
Thus I wanted to ask if there was a way to have an NPC (or multiple NPCs) appear next to the player, without knowing the exact location of the player at that time.
Example:
You try to pickpocket someone but fail. Your failure triggers another event, which counts down a certain amount of time (say a couple of minutes), during which you can continue to play as usual (and possibly try to leave the area in which you failed to rob someone). Once the time has run out, the police appears next to the player and something happens (possibly a fight, for example).
Can you do that? And if so, how?
I only know of events similar to the rival appearing, but in those cases you know exactly where the player is, since the event starts on a certain spot. But can you do the same thing without a "set in stone location"?
One solution I thought might work was making an empty "FollowingPokemon" Event which you then exchange with the police officer. But
- I might want to have more than 1 police guy appear,
- that would, to my knowledge, only work on the map on which you placed said event, meaning, that you would have to make such an event in at least every city, which then again would result in you having, sooner or later, a huge load of empty events following you,
- I was hoping there is a more "sophisticated" way to solve this ^^
Thank you very much for your assistance in advance! :)