• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Death Animation - Help

Status
Not open for further replies.
Level 9
Joined
Aug 18, 2008
Messages
345
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: 76
Status
Not open for further replies.
Top