Hi
I've just started making an AI system for one of my Pokemon based map. Around the map are 4 different Pokecenters (they act as fountain of health and mana) and so I'm trying to work out a way in which I can get my AI to flee to the closest one. This would normally work happily but in the middle of the map is a gate that cuts of the route to 2 of the Pokecenters.
So what I am needing to do is make them move to the closest Pokecenter but until the quest is completed to open the gate they would only notice the two before passing the gate.
Would anyone be willing to give me a hand in this?
I've just started making an AI system for one of my Pokemon based map. Around the map are 4 different Pokecenters (they act as fountain of health and mana) and so I'm trying to work out a way in which I can get my AI to flee to the closest one. This would normally work happily but in the middle of the map is a gate that cuts of the route to 2 of the Pokecenters.
So what I am needing to do is make them move to the closest Pokecenter but until the quest is completed to open the gate they would only notice the two before passing the gate.
Would anyone be willing to give me a hand in this?