Stefano81 0 Posted August 24, 2002 Hello whoever is reading this is my first post...I just started using the editor and got stuck in a problem at the end of my mission...I want to make a trigger that makes the objective1 complete when a certain building is destroyed...I thought I could do that with the getDammage command but I can't cause I can't name the building(it's not a unit,it was already in the Nogova map)...i tried putting the ID number of the house but didn't work...I looked into the forums and editing guides but nothing helped me...please if someone "saint" enough could help me out to make this trigger I'd be very grateful... forgive my poor english,Ste Share this post Link to post Share on other sites
Guest Posted August 24, 2002 Moving to missione editing Welcome to the forums! To answer your question briefly: you were on the right track. In the mission editor you should select "Show IDs". Then zoom in on the building you want to look at and you will see a number written on it, say for instance 70079. To get the damage of the building you then have the command: getDammage (object (70079) ) Share this post Link to post Share on other sites