• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

How do i

Status
Not open for further replies.
Open Object editor and select your building and chose:

namnlsntw.jpg
 
Give something a death animation?

I created a building and used a doodad as its model, but when it dies it just stays there for about 10 seconds then dissapears, how do I give it a death animation?

hold shit + enter (on art model file) and you will get the code for special effect you want

EVENT-unit dies
CONDITION-dying unit equal to (your unit)
ACTION-
set POINT = position of dying unit
create (any special effect you want) at POINT
destroy (last created special effect)
call RemoveLocation(udg_POINT)
 
does it play its death animation after doing that?
if not try adding this trigger on its death.
  • Events
  • Unit - A unit Dies
  • Conditions
  • (Unit-type of (Triggering unit)) equal to YOURDESIREDUNIT
  • Actions
  • Animation - Play Unit's death animation
i think the one that irritates you is the corpse of that dying unit.
maybe this trigger could help
  • Wait 2.00 seconds
  • Unit - Remove (Decaying unit) from the game
 
Status
Not open for further replies.
Back
Top