How would I make this logic with denizen? Fulwall said it will be added as featute but only after a while so I wantef to try it myself.
Normal scenario:
- NPC wanders around (forever)
- Player gets in a 2 block range to the NPC
- NPC stops walking for 2 seconds and looks at the player.
- After those 2 seconds, continue walking, even when the player is still close to the NPC.
- Reset after like 5 seconds
In the scenario where the player keeps following the npc and stays in the 2 block range the whole time:
- NPC stops walking for 2 seconds and looks at the player.
- Continue walking, wait for 5 secs,
- NPC stops walking again for 2 seconds and looks at the player again
- Repeat