Add-on creators are currently making entity A follow entity B, by making entity B a target of entity A. Although this works for simple use cases, it's too unwieldy when entity A is a combatant and needs to fight other entities. for example.
A command or scripting API for pathfinding would be really useful for add-ons.
Command:
/navigate <selector> <location>
Scripting API:
entity.navigateTo(location)
Methods above should make the entity navigate to a world location, using current active navigation component of the entity.
Please sign in to leave a comment.
0 Comments