• 🏆 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!

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