• 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.

How do i

Status
Not open for further replies.
Level 8
Joined
Jul 11, 2008
Messages
104
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?
 
Level 6
Joined
Apr 8, 2009
Messages
131
Open Object editor and select your building and chose:

namnlsntw.jpg
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
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)
 
Level 6
Joined
Mar 22, 2009
Messages
276
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.
Top