pink units of type income

Status
Not open for further replies.
Level 9
Joined
Jun 20, 2008
Messages
476
In my game you can capture towns and after 10 seconds they should give you 10 gold
i used

  • all cities
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)((Unit-type of (Triggering unit)) Equal to Town)) and do (Actions)
        • Loop - Actions
          • Player - Add 50 to (Owner of (Triggering unit)) Current gold
      • Unit Group - Pick every unit in (Units in (Playable map area)((Unit-type of (Triggering unit)) Equal to Small City)) and do (Actions)
        • Loop - Actions
          • Player - Add 75 to (Owner of (Triggering unit)) Current gold
      • Unit Group - Pick every unit in (Units in (Playable map area)((Unit-type of (Triggering unit)) Equal to Big city)) and do (Actions)
        • Loop - Actions
          • Player - Add 75 to (Owner of (Triggering unit)) Current gold
doest work
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Try this one:

  • Income
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Town Hall)) and do (Actions)
        • Loop - Actions
          • Player - Add 10 to (Owner of (Picked unit)) Current gold
 
Status
Not open for further replies.
Top