Nanakil_99
New Member
- Reaction score
- 0
im making this map and im wondering how to get an income from making buildings like 1 income per second or some thin like that can u plz help me
error0024 said:Events
Time - Every 1.00 seconds of game time
Conditions
none
Actions
Unit Group - Pick every unit in (Units of (type)) and do (Player - Add 1 to (Owner of (Picked unit)) Current gold)
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Custom script: set bj_wantDestroyGroup=true
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add (1 x (Number of units in (Units owned by (Picked player) matching ((Unit-type of (Matching unit)) Equal to <unit>)))) to (Picked player) Current gold
Demonfaze said:yeah, DDRtists, you overcomplicatified it
sounds weird at first, but after you think about it, it makes sense.
Both ways should work, but error0024's is simpler