Get map content



  • Hi I am a new in this game. I can't find answer for my question in documentation. How I can get relievo in the room? I mean create array with type of structures in the room.



  • Are you talking about?

    var storedArray = Game.rooms.W15S5.find(FIND_MY_STRUCTURES);

    Otherwise I don't understand your question, what are you looking for?



  • Thank you for answer. No, It will return only my structure. I found solution. I use room.lookForAtArea(0,0,49,49) for this.