beginscript; ExcTargetType (0xffff); //IncludeGTarget (2); label Start: if (GetState() != 1) { EndFrame(); goto Run; } EndFrame(); goto Start; label Run: SetVar (0, GetTime()+1800); label TimeWait: if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait; } SetFollowWaypoint(6, 0, 0); label BackByFarmtruck01: if (GetFollowMode() != 0) { EndFrame(); goto BackByFarmt01; } label Despawn: if (UnitDead()) { DespawnUnit(); EndFrame(); goto Despawn; } // may cause error when soldiers working properly //DespawnUnit(); label End: EndFrame(); goto End; endscript; $