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.

    🤦🏻♂