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!
hi i m looking for a trigger that is a unit (or more) of a player is in a region named "center" the player owned of units get 1 gold at second
ps: if 2 units are in region the player get 1 gold not 2
So many answers before I was finished with mine =/
Anyway this loops through Players 1 to 12 and gives 1 gold no matter how many units are in the region (1+)
GoldRegion
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Set TempGroup = (Units in Region 000 <gen> owned by (Player((Integer A))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in TempGroup) Greater than 0
Then - Actions
Player - Add 1 to (Player((Integer A))) Current gold
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.