beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0xfffffff); SelectWeapons(0,0,0); SetFollowRange(50); EndFrame(); goto CS2; } EndFrame(); goto Wait; label CS2: if (GetGlobalVar(0) == 2) { ExcTargetType(0x2); SetFollowWaypoint(4,0,0); SetFollowRange(50); EndFrame(); goto End; } EndFrame(); goto CS2; label End: EndFrame(); goto End; endscript; $