• 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.

Periodic Resources

Status
Not open for further replies.
Level 11
Joined
Aug 25, 2006
Messages
971
This should do it.
  • Normal
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Set Temp_PGroup = (All players)
      • Player Group - Pick every player in Temp_PGroup and do (Actions)
        • Loop - Actions
          • Set Temp_Group = (Units owned by (Picked player) of type Keep)
          • Unit Group - Pick every unit in Temp_Group and do (Player - Add 50 to (Picked player) Current gold)
          • Unit Group - Destroy unit group Temp_Group
      • Custom script: call DestroyForce(udg_Temp_PGroup)
 
Level 11
Joined
Aug 25, 2006
Messages
971
Generic Actions (the ones on the top) its the 'Set Variable' action. You need to make a new variable. Temp_PGroup is a player group and Temp_Group is a Unit Group
 
Status
Not open for further replies.
Top