Is Pathfinding (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.9.0

Syntax

%livingentities% (is|are) pathfinding [to[wards] %-livingentity/location%]

Description

Checks whether living entities are pathfinding. Can only be a living entity that is a Mob.

Examples

make {_entity} pathfind to {_location} at speed 2
while {_entity} is pathfinding
	wait a second
launch flickering trailing burst firework colored red at location of {_entity}
subtract 10 from {defence::tower::health}
clear entity within {_entity}

View source