How to make them appear?

spoof

New Member
Reaction score
0
I have a problem! When you kill creep how to make them revive again after, for example 1 min?
:nuts:
 

The Big S

New Member
Reaction score
6
Use this:

You need two variables:

TempPoint (a location/point variable)
DyingUnit (a unit variable)

Code:
Acquire Item
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Custom script: local unit udg_DyingUnit
        Custom script: local location udg_TempPoint
        Set TargetUnit = (Dying unit)
        Set TempPoint = (Position of (Dying unit))
        Wait 60.00 seconds
        Unit - Create 1 (Unit-type of TargetUnit) for Neutral Hostile at TempPoint facing Default building facing (270.0) degrees
        Custom script: set udg_DyingUnit = null
        Custom script: call RemoveLocation(udg_TempPoint)

You need that little bit of custom script so that it doesn't screw up and only spawn one unit if two died. Hope it helps!
 
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