beginscript; ExcTargetType(0xffffffff); AttachToObj (0x4c8); //SetVar(0,GetOtherUnitHealth(GetUnitID())); //label Wait: // // if ((PlayerInRange(2000) || OtherUnitInRange(Convoy1,2000) || GetOtherUnitHealth(GetUnitID()) < GetVar(0)) // && GetGlobalVar(1) >= 2) // { // Detach (); // IncTargetType(0xffffffff); // ExcTargetType(0x2); // IncTargetType(0x1); // IncludeGTarget(3); // EndFrame(); // goto End; // } // //EndFrame(); //goto Wait; label End: EndFrame(); goto End; endscript; $