For example, I have a map and a player. As a developer, I can never know what the player will do at particular times (wandering, fishing, or whatever). Meanwhile, there is a NPC who walks from location A to location B. Let's say the NPC leaves A at 6 a.m. and arrives at B at 8 a.m. Right now the player is in map 1 and the npc is in map 2. I want the NPC to be in the correct location whenever the player enters map 2, i.e., if the player enters map 2 at 6 a.m, the npc should be in location A, if the player enters map 2 at 8 a.m, the NPC should be in location B, and if the player enters map 2 at 7 a.m, the NPC should be in the middle of the two locations.
I have two main questions:
- godot has built-in navigation, but can it calculate a "specific" location based on time? If not, how do I implement it?
- the "Behavior Tree" seems to be what I want, is it the best option?