Navigation

    forum

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

    Posts made by Rocketboy314

    • Cannot Find Wall Hits

      I am unable to detect the health of constructed walls. When I type: JSON.stringify(Game.getObjectById(Game.spawns[spawnerName].room.find(FIND_STRUCTURES)[0].id)) or JSON.stringify(Game.spawns[spawnerName].room.find(FIND_STRUCTURES)[0]), I get a wall object, but it does not show how many hits the wall has. Below is the wall object I get.

      {"room":{"name":"E54N3","energyAvailable":10,"energyCapacityAvailable":550,"visual":{"roomName":"E54N3"}},"pos":{"x":5,"y":49,"roomName":"E54N3"},"id":"5a46a71ff4d4ea1795759267","hitsMax":300000000,"structureType":"constructedWall"}

      I'm in shard1 if that helps. Any ideas why? Thanks.

      EDIT: Oh wait, never mind. Those are walls for noobs on the borders. My bad.

      posted in Help
      Rocketboy314