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

Detecting when/if a corpse is raisable.

Status
Not open for further replies.
Level 14
Joined
Oct 16, 2010
Messages
749
Hi,

Says what the title says really. I have an ability where the hero passively picks up corpses (only organic) and deals dps to nearby enemy units depending on how many corpses they have. The ability works fine itself but I was wondering if there was a way in which I could filter out when/if a dead enemy is collectable (raisable). This is more for appearance if I'm honest...

For example... A unit dies near the hero, but before the dying unit finishes its death animation and begins to decay it dissapears (it's been consumed).

Any ideas?
 
Level 14
Joined
Oct 16, 2010
Messages
749
When i say "consumed" i mean I remove a dead unit from the game. But at the minute it doesn't allow their death animations to be played as whilst the animations are playing they are still classed as "dead" as such. I was looking for a way to check if they are "decaying".
 
Status
Not open for further replies.
Top