Navigation

    forum

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

    Topics created by Geners

    • Is there a way to check to body parts of a creep?
      Help • • Geners

      3
      3
      Posts
      9314
      Views

      yes creep.body; count MOVE parts: var c = aquireCreep(); _.filter(c.body, function(bp){return bp == MOVE;}).length;
    • Community updates
      Feature Requests • • Geners

      1
      1
      Posts
      3275
      Views

      No one has replied

    • Healers trying to heal themselves.
      General Discussion • • Geners

      2
      2
      Posts
      5088
      Views

      Healers can now heal themselves, so this check can be removed.
    • Issue with creep.moveTo
      Technical Issues and Bugs • • Geners

      4
      4
      Posts
      7449
      Views

      I figured out the problem in main I put if(creep.memory.role = 'tower') instead of if(creep.memory.role == 'tower') i forgot to add a = sign to switch from an assignment operator to a logical equals operator. Thanks guys!
    • I wish I could get my friends into this game
      General Discussion • • Geners

      1
      1
      Posts
      3413
      Views

      No one has replied

    • How can you tell if you've defeated an enemy?
      Help • • Geners

      1
      1
      Posts
      3456
      Views

      No one has replied

    • In PVE mode my
      Help • • Geners

      2
      2
      Posts
      4598
      Views

      room.find doesn't know creep position so it can't return closest. It returns array of all object of specified type. If you want closest hostile creep, then use creep.pos.findClosest(FIND_HOSTILE_CREEPS) You can also filter hostile creeps to exclude source keepers. Something like room.find(FIND_HOSTILE_CREEPS, { filter:function(enemy){enemy.owner.username !== 'Source Keeper'} })