Making unit disapear.

CysticCraze

New Member
Reaction score
12
So I have a custom unit I made that when it dies, it stays there, like the whole unit, I want teh complete thing to disapear so absoultely nothing is left. How do I do this?
 

vypur85

Hibernate
Reaction score
803
Code:
Event
 A unit dies
Condition
 Unit-type of (Triggering unit) Equal to YourUnitType
Actions
 Unit - Remove (Triggering unit) from the game

The unit you used probably do not have a death animation. If you afraid that the removal trigger might interfere with your other triggers, then try this:

Code:
Event
 A unit dies
Condition
 Unit-type of (Triggering unit) Equal to YourUnitType
Actions
 Unit - Hide (Triggering unit)
 

CysticCraze

New Member
Reaction score
12
sweet, ty, and yes its a custom unit, and its actually a doodad model i made im using for a stationary unit with an inventory, thanks :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top