How do you give gold to player that owns a unit, in a periodic event. The more of this unit, the more gold.
This is what i already have:
This is what i already have:
Code:
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Mini Tower
Then - Actions
Player - Add 1 to (Owner of (Triggering unit)) Current gold
Else - Actions
Do nothing