Navigation

    forum

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

    Posts made by GiantZoc_

    • RE: I think the game pathing between rooms just broke

      Yeah, this was fixed shortly after I noticed it.

      posted in Technical Issues and Bugs
      GiantZoc_
    • I think the game pathing between rooms just broke

      Creeps are trying to move to another room where there isn't an exit. I saw similar behavior with another player's creeps as well.

      posted in Technical Issues and Bugs
      GiantZoc_
    • Room navigation solutions?

      Has anyone found a good way to navigate through the rooms in code? I tried looping through Game.rooms but was only getting rooms I already had creeps in. I can't find a good way to get an adjacent room's name. I also tried using Game.map.describeExits but I am only seeing the directions and cannot find a way to get the room name from it.

      //only see rooms I already occupy
      for(var name in Game.rooms) {
      var myRoom = Game.rooms[name];
      }

      //not seeing the name property populated for exit object
      for(var exit in exits){
      console.log(exit);
      console.log(exit.name);
      }

      posted in General Discussion
      GiantZoc_