†ALPHA†
New Member
- Reaction score
- 3
I'm working on a 1v1 map where there are four regions located in different "towns" that a player can control in order to receive a tribute of gold and soldiers.
I've tried to figure it out, but I can't figure out how to get the the actual tribute section of the trigger to loop. I need it to loop every five minutes that the player maintains control of the region/town.
This is what I've got:
Any way to make the last two actions loop without causing any trouble when the triggering units die, multiple players' units trigger the region, etc?
I've tried to figure it out, but I can't figure out how to get the the actual tribute section of the trigger to loop. I need it to loop every five minutes that the player maintains control of the region/town.
This is what I've got:
Trigger:
- TakeATown
- Events
- Unit - A unit enters Town1Reg <gen>
- Unit - A unit enters Town2Reg <gen>
- Unit - A unit enters Town3Reg <gen>
- Unit - A unit enters Town4Reg <gen>
- Conditions
- (Unit-type of (Triggering unit)) Equal to Baron
- Actions
- Unit - Pause (Triggering unit)
- Cinematic - Ping minimap for (All players) at (Position of (Triggering unit)) for 1.00 seconds, using a Warning ping of color (100.00%, 100.00%, 100.00%)
- Game - Display to (All players) the text: A player has taken a town.
- Wait 300.00 seconds
- Player - Add 200 to (Owner of (Triggering unit)) Current gold
- Unit - Create 2 Warrior for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing ((Owner of (Triggering unit)) start location)
- Events
Any way to make the last two actions loop without causing any trouble when the triggering units die, multiple players' units trigger the region, etc?