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

[Trigger] Control point Income Trigger

Status
Not open for further replies.
Level 4
Joined
Jul 22, 2012
Messages
72
Ok So I know how to mak a income trigger but I have a huge map, with many many control points that will produce income, and I don't wanna make like 500 trigggers, Is there a way I can make like 4-5 control point units, and make them all work right placing them multiple times?
 
Level 4
Joined
Jul 22, 2012
Messages
72
so for instance I have a Control Point like (Demon Lair/10g a min) if i put that in 10 differnt areas so people can take them over, then they would all work, so u'd get 100g a min from them all.
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
when he dies, remove him from game :D
However it will also remove the shadowed icon on top-left corner
I think there is option in altars saying something like revive dead heros or somethibg like that, Im on mobile so I cant check right now
 
so for instance I have a Control Point like (Demon Lair/10g a min) if i put that in 10 differnt areas so people can take them over, then they would all work, so u'd get 100g a min from them all.

Use a unit group to select all units of the type Demon Lair, then give the owners of the units +10 gold, and run the trigger every minute


  • Income Example
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Set TempGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Demon Lair))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Player - Add 10 to (Owner of (Picked unit)) Current gold
      • Custom script: call DestroyGroup (udg_TempGroup)
 
Status
Not open for further replies.
Top