beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0x2); //IncTargetType(0x40); IncTargetType(0x1); IncludeGTarget(3); EndFrame(); goto End; } EndFrame(); goto Wait; label End: if (UnitDead()) { EndFrame(); goto Wait; } if (GetGlobalVar(0) >= 5) { SetFollowWaypoint(101,0,0); ExcTargetType(0xffffffff); EndFrame(); goto Wait; } EndFrame(); goto End; endscript; $