Trigger Help

Status
Not open for further replies.

Jeppe Carlseng

J

Jeppe Carlseng

So im still kinda new to the whole map creating and wanted to ask for help.
Ive been struggling a bit with creating a "lumber farm"
How do i create a trigger that produces wood every second that a player has build it?

Thanks in advance!
 
You need a trigger executing every second. To do something for all Players use the Player Group Loop Action. Inside the Player Group Loop access the current iterated Player with Picked Player.

Now add Lumber for picked Player equal to the amount of farms of that picked player current living.
  • Lumber Farms
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Add (Number of living "Lumber Farm" units owned by (Picked player)) to (Picked player) Current lumber
 
Status
Not open for further replies.
Back
Top