Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. PixelHunter
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    PixelHunter

    @PixelHunter

    2
    Posts
    874
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    PixelHunter Follow

    Posts made by PixelHunter

    • Creep stop moving if source empty

      Hi forum,

      Really fascinating game, but

      I experience the my creeps stops moving if the desired source is empty until the source is recharged.

      I don't mean this pumping move during charging, I mean moving forward towards the source. When the source is recharged the creeps immediately continue to move their way.

      I would prefer if they would continue even if the source is empty.

      Here the code I use:

      var source = spawn.pos.findClosestByRange(FIND_SOURCES); if(creep.harvest(source) == ERR_NOT_IN_RANGE) {
        creep.moveTo(source);
      }

      Any ideas?

      posted in Help
      PixelHunter
    • RE: Not responding message

      I get this message too in the tutorials.

      posted in Technical Issues and Bugs
      PixelHunter