Doodad Death Error

Status
Not open for further replies.
Level 2
Joined
Aug 1, 2012
Messages
40
I'm working on a map for the latest Mini-Mapping Contest, and I was using the DK2CarvedWall model for a destructible doodad. The problem, however, is when the doodad is destroyed; the death animation plays, and units can move through it as normal, but when the death animation ends the model reverts to the stand animation, only lowered about halfway to the ground. I don't know what causes this problem; is it something in the doodad properties, or with the model itself? How can I go about fixing it?
Thanks for any help!
 
Remove the destructable from the game after a few seconds.
Doodads can't be killed.

It can be done easy with a trigger, just put this into a trigger with Event - A destructible dies with the proper condition:
  • custom script: local destructable d = GetTriggerDestructable()
  • Wait X seconds
  • custom script: call SetWidgetLife(d, 1.0)
  • custom script: call RemoveDestructable(d)
  • custom script: set d = null
I have no access to WE atm so there might be syntax errors.
 
Status
Not open for further replies.
Back
Top