Death Animation - Help

Status
Not open for further replies.
Level 9
Joined
Aug 18, 2008
Messages
346
I want like a death animation to the building in the attachment file.
I would like it to have the orc barrack death animation, since they look very much alike.

I have been trying to achieve it without modelling.
Ham Ham (thanks for trying), told me to create a trigger that looked like this:

  • Barrack
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Melee House
    • Actions
      • Set TempLocation = (Position of (Dying unit))
      • Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\FlameStrike\FlameStrike.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Remove (Dying unit) from the game
      • Custom script: call RemoveLocation(udg_TempLocation)
However nothing happens, nor when I give the building the AOE Damage Upon Death.

Well, that is my biggest trouble at the moment. Could someone lend a helping hand?
 

Attachments

  • OrcsHouse.mdx
    6.8 KB · Views: 44
  • scrn.jpg
    scrn.jpg
    13.7 KB · Views: 77
Status
Not open for further replies.
Top