• 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 do i...

Status
Not open for further replies.
Level 11
Joined
May 31, 2008
Messages
698
Dont do that. Cuz if you kill the unit at the right time then it could respawn right after you kill it.

  • Creep Respawn
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • ((Your Region) contains (Triggering unit)) Equal to True
              • (Number of units in (Units in (Your Region) matching ((((Matching unit) belongs to an ally of Neutral Hostile) Equal to True) and (((Matching unit) is alive) Equal to True)))) Equal to 0
        • Then - Actions
          • Wait 30.00 seconds
          • Unit - Create 1 Of your unit for Neutral Hostile at (Center of (Your Region)) facing Default building facing degrees
          • ^(do this for each unit that you want in region unless you have say 3 of the same unit then do create 3 of that unit)
        • Else - Actions
You gotta do this for each region that contains units, i dont know if there is any other way that could be easier, i wouldnt use the create unit at position of dying unit because then what if the units moves and you kill it somewhere other than the original location.
 
Status
Not open for further replies.
Top