Periodic Resources

Status
Not open for further replies.
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)
 
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.
Back
Top