I want to not have dead units stay in the map

cowmenace

New Member
Reaction score
22
Where do I set the decay time of units to 1 second or something? I have a trigger that pick up all units in a region, and if a unit dies there, it is still picking up the dead unit -.- I know, I know, add the condition Unit is Alive, but that's seriously a LOT of copy/paste/edit....About 3 hours worth i'd say. I also can't remove the unit from the game, because if a hero dies on the region, it won't be able to revive if it's removed. I also can't say to remove it only if it is not a hero because then the heroes would be getting picked up after death, unless reviving them removes their corpse... that's another question, I guess.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
You can find this in Gameplay Constants:D

Advanced -> Gameplay Constants -> Decay Time
Play with those different values there and you might get your desired effect ;)
 

vypur85

Hibernate
Reaction score
803
Gameplay Constant - Creep Decay Time


Or a simple trigger:
Code:
Event
 A unit dies
Condition
 (Triggering unit) is a Hero Equal to False
Actions
 Wait 1.00 game-time seconds
 Unit - Remove (Triggering unit) from the game
 

Ayanami

칼리
Reaction score
288
Or a simple trigger:
Code:
Event
 A unit dies
Condition
 (Triggering unit) is a Hero Equal to False
Actions
 Wait 1.00 game-time seconds
 Unit - Remove (Triggering unit) from the game

He mentioned that he can't use the Remove Unit as the Hero wouldn't be revivable after you remove it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top