• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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