• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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