I have towers place on my map, when a tower is destroyed i want creeps to level up.

Astal

New Member
Reaction score
1
The way i have it now i have in map init

Trigger:
  • Set TowersOfSauron[1] = Tower of Sauron 0017 <gen>


For all 6 towers

when Any of the 6 towers die I want the creeps to gain +1 level.

I know im missing somthing i cant remember what.

Trigger:
  • (Triggering unit) Equal to TowersOfSauron[INDEX]


If i put an integer it will be only when that tower dies. How can i make it when any of the towers in that array die?
 

Necrach

You can change this now in User CP.
Reaction score
62
You want it in a condition? Why not use a unit group instead?

Trigger:
  • Actions
    • Unit Group - Add Tower of Sauron 0017 <gen> to TowersOfSauron
    • Unit Group - Add Tower of Sauron 0018 <gen> to TowersOfSauron
    • etc...


and then

Trigger:
  • Conditions
    • ((Dying unit) is in TowersOfSauron Equal to True


and whichever actions you are using for increasing creep level
 

strembitsky

Member
Reaction score
1
Maybe you could turn the Towers of Sauron into units, and then do the trigger Pick Every Unit In Group And Do Action and make them give experience to units in region: and have a region around that tower.
 

Astal

New Member
Reaction score
1
You want it in a condition? Why not use a unit group instead?

Trigger:
  • Actions
    • Unit Group - Add Tower of Sauron 0017 <gen> to TowersOfSauron
    • Unit Group - Add Tower of Sauron 0018 <gen> to TowersOfSauron
    • etc...


and then

Trigger:
  • Conditions
    • ((Dying unit) is in TowersOfSauron Equal to True

ahh ok, i knew there was an easy way of doing it, just a bit of brain fog
 
General chit-chat
Help Users

      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