- Joined
- Jan 9, 2020
- Messages
- 2
Hi there,
This is my first post and I hope it's not a silly question. I've spent many hours trying to solve this trigger system. I've tried countless variations, which work more or less. But none like I want it to.
I am trying to add a small income every 2 seconds for the player for each unit-type "wind mill" in the region "tempreg".
This is my first post and I hope it's not a silly question. I've spent many hours trying to solve this trigger system. I've tried countless variations, which work more or less. But none like I want it to.
I am trying to add a small income every 2 seconds for the player for each unit-type "wind mill" in the region "tempreg".
-
Events
-
Time - Every 2.00 seconds of game time
-
-
Conditions
-
Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in tempreg matching (((Owner of (Picked unit)) Equal to (Picked player)) and ((Unit-type of (Picked unit)) Equal to Wind Mill))) and do (Actions)
-
Loop - Actions
-
Player - Add (1 x (Number of units in (Units in tempreg matching (((Owner of (Picked unit)) Equal to (Picked player)) and ((Unit-type of (Picked unit)) Equal to Wind Mill))))) to (Picked player) Current gold
-
-
-
-
-
Last edited: