• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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