beginscript; ExcTargetType(0xffffffff); AttachToObj (0x42a); SetVar(0,GetOtherUnitHealth(GetUnitID())); label Wait: if (((PlayerInRange(1800) || OtherUnitInRange(Convoy1,1500)) && GetGlobalVar(1) >= 2) || GetOtherUnitHealth(GetUnitID()) < GetVar(0)) { Detach (); IncTargetType(0xffffffff); ExcTargetType(0x2); IncTargetType(0x1); IncludeUTarget(0x7401); EndFrame(); goto End; } EndFrame(); goto Wait; label End: EndFrame(); goto End; endscript; $