• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Every 60 second - Building money

Status
Not open for further replies.

TKF

TKF

Level 19
Joined
Nov 29, 2006
Messages
1,267
Very simple!

  • IronMine
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of living IronMine units owned by (Picked player)) Greater than or equal to 1
            • Then - Actions
              • Player - Set (Picked player) Current gold to (((Picked player) Current gold) + ((Number of living IronMine units owned by (Picked player)) x 200))
            • Else - Actions
 
Very simple!

  • IronMine
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of living IronMine units owned by (Picked player)) Greater than or equal to 1
            • Then - Actions
              • Player - Set (Picked player) Current gold to (((Picked player) Current gold) + ((Number of living IronMine units owned by (Picked player)) x 200))
            • Else - Actions

You saved my day AND showed me a new feature I can take advantage of in future map-making projects.. :thumbs_up: +Rep!!
 
Status
Not open for further replies.
Top