beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0xffffffff); SetFollowRange(0); EndFrame(); goto WaitForTrigger; } EndFrame(); goto Wait; label WaitForTrigger: if (Triggered()) { SetFollowWaypoint(11,0,0); SetFollowRange(0); label End: EndFrame(); goto End; } EndFrame(); goto WaitForTrigger; label End: EndFrame(); goto End; endscript; $