-
Notifications
You must be signed in to change notification settings - Fork 53
Interactions
This is a real doozy. Lots of educated guesswork has been done by other individuals that were willing to share their theories. Now we have to fill in the gaps…
Pathfinding needed to function in 2004 with the least amounts of server resources. That means allowing the client to supply a generated path, and not generating new paths unless absolutely necessary.
For scripted setInteractions: if the target is a NPC/player, and the player still has steps, discard the new interaction (?) - allows the player to run away on retaliate
If the player can interact at the current distance, they will. The walking queue does not need to finish.
The cycle order is player/npc, movement, loc/obj.
On the last waypoint of a path, if the target has moved, generate a new path.