Bbartram 0 Posted March 13, 2008 I'd like to detect when a building is about to be destroyed, and hide it, revealing a crater, and add particle fx of dust. To hide it, I intend to rotate it 180, essentially stuffing it underground. The crater already exists under the house. Any tips on how to detect the building destruction? Obviously, there is code to cause the building to deflate like a balloon when it's destroyed... any way I can hijack it to run my own script? Thanks Share this post Link to post Share on other sites
chris330 0 Posted June 22, 2008 Hmm.... there might be a detector command that allows you to look-up the damage level of a unit. To do what you want to do then you'll need to have an animation scripted into your building's .p3d file. Sounds perfectly possible and a rather good idea too. *Edit* There is. I think it's getdammage. Look it up pal. Share this post Link to post Share on other sites