beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0xffffffff); EndFrame(); goto TargetCheck; } EndFrame(); goto Wait; label TargetCheck: if (GetGlobalVar(5) == 1) { SetFollowWaypoint(47,0,0); EndFrame(); goto WaitCheck; } else { IncludeUTarget (0x7401); IncTargetType(0x1); EndFrame(); goto End; } if (GetFollowMode() == 3) { SetFollowRange(1000); } label WaitCheck: if (UnitInArea(-2094,1259,200) && UnitDead() != 1) { IncTargetType(0x1); IncludeUTarget (0x7401); } EndFrame(); goto WaitCheck; label End: EndFrame(); goto End; endscript; $