[Bug] NPC Follow Owner Objectives do not work immediately if you change the owner with the command
himmelam011 opened this issue ยท 0 comments
Describe the bug
When changing the NPC owner with the command "/easy_npc owner" Follow Owner Objectives are not triggered immediately, but only after the checkbox is checked again.
To Reproduce
Steps to reproduce the behavior:
- Select an NPC of which you are NOT the owner.
- Set it to Objectives --> Follow --> Follow Owner
- Use the command /easy_npc owner set [NPC id] [your nickname]
- See error: The NPC does not follow you, even if you are the owner of this NPC.
- To fix:
- Disable Objectives --> Follow --> Follow Owner
- Enable it back
- Npcs follow you, but it would be nice to have them follow you without reactivation.
Expected behavior
The NPC should follow the player immediately after applying the /easy_npc owner set command
Screenshots
https://github.com/MarkusBordihn/BOs-Easy-NPC/assets/166988975/2651ac39-606a-4419-b69e-8fe495b4a429