Apocca 10 Posted July 9, 2009 This has always been a big issue for me. I make a great defend map where you have to hold ontop of a building rooftop, but when the first tank pops up, BAM - no more building. Is there any good way of making a building indestructable? Or every building on the map? I know you can place the building as an object with the editor upgrade, however that messes up AI pathfinding, giving me all kinds of trouble. Also, i'm aware of the nearestObject [***, "***"] code. Could that perhaps be used in some way to name a building, giving you the possiblity of doing a this allowDamage false on it or something? Argh, i'm in way above my head. Share this post Link to post Share on other sites
Tajin 349 Posted July 9, 2009 Put something next to the building and add this to the init: (nearestBuilding this) allowDamage false; Share this post Link to post Share on other sites
Apocca 10 Posted July 9, 2009 Ah, cool :D Can you also change how many hitpoints the building has? Share this post Link to post Share on other sites
Tajin 349 Posted July 9, 2009 That would require an eventhandler, we've had the same topic about tanks here somewhere. Share this post Link to post Share on other sites