Open GregHib opened 4 years ago
A mob watches a player while the player is interacting with them. If the player walks away (seems to be twice the interact distance?) the mob should stops watching the player.
Subscribe to player movement, compare with valid targets ids (npcs with watching). If is target and exceeds distance then remove as target.
A mob watches a player while the player is interacting with them. If the player walks away (seems to be twice the interact distance?) the mob should stops watching the player.