Entity PathFind Event & Pathfinding Target Expression by AnOwlBe · Pull Request #8501 · SkriptLang/Skript

Problem

Skript doesn't have it and I see it being very useful for eg spawning a bee and limiting it to a certain area it can path find to

Solution

Added a entity pathfind event eg on entity pathfind:
broadcast "%event-location%"
Added an expression for pathfinding target eg
on entity pathfind:
broadcast "%pathfinding target%"

Testing Completed

Tested without addons on mc 1.21.11 event, expression & event-values work fine

Supporting Information

---

Related: #8417
AI assistance: none