Pathfind (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.7

Syntax

make %livingentities% (pathfind|move) to[wards] %livingentity/location% [at speed %-number%]

Description

Make an entity pathfind towards a location or another entity. Not all entities can pathfind. If the pathfinding target is another entity, the entities may or may not continuously follow the target.

Examples

make all creepers pathfind towards player
make all cows stop pathfinding
make event-entity pathfind towards player at speed 1

View source