beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType (0x2); IncTargetType (0x1001); SetFollowUnit (wp1, 1, 1200); EndFrame(); goto End; } EndFrame(); goto Wait; label End: EndFrame(); goto End; endscript; $