• 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 to create units with timed life?

Status
Not open for further replies.
Level 10
Joined
Jun 7, 2008
Messages
420
Help!! As part of a trigger animation, I'm creating a unit for its art. Gave it locust ability, so it can't be selected or damaged.

However, now I'm having trouble removing it.

Is there any ability or whatsoever that can give units TIMED LIFE?
 
Level 6
Joined
Dec 9, 2007
Messages
208
You can either do what Spartan1one7 said, or you can do "Wait- XX" and "Kill/Remove Last Created Unit".

(Spartan1one7's way is far easier and much smarter to use.)

-Sinizi
 
Level 9
Joined
Feb 19, 2006
Messages
115
expiration timer isn't the most efficient way...
Use markone's negative HP regeneration, give it -1 per second and it's HP will be the time (set negative values by holding SHIFT while clicking on the field).
Just make sure to make it invulnerable and magic immune (so it can't be killed or healed).
 
Status
Not open for further replies.
Top