I have multiple small regions in which i'm supposed to build units into. I need to trigger this so that whenever someone builds a unit into any of these regions ex:region A; a copy of said unit will be created on ex:region B. So far i can manage this much as well as add orders to created unit of region B. The problem i'm having is after the next round when it's supposed to recreate the unit again and for each round after that.
So far I have something similar to this:
Event:
Unit - A unit owned by Player 1 (Red) Finishes construction
Condition:
(Region-A <gen> contains (Position of (Triggering unit))) Equal to True
((Triggering unit) is A Hero) Equal to False
Action:
Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Center of (Region-B <gen> offset by (0.00, 0.00).)) facing Default building facing degrees
Unit - Move (Triggering unit) instantly to (Center of Region-B <gen>)
As the unit is already built in region A repreating the trigger won't do anything.
I thought I needed to change either the event or make a trigger for Set variable = Triggering unit but it doesn't seem to work either. the trigger seems to be dependable on:
Unit - A unit owned by Player 1 (Red) Finishes construction
This is much like Hellhalt TD's battle after level 10 20 30 .. except i need the first built units to stay there and only make copies of themselves each round.
(I have the triggers ready for the rounds but I can't use them if the units can't be recreated)
Sorry if I made a poor job at explaining this. It's the first map I ever make and i'm new to triggers and such.
So far I have something similar to this:
Event:
Unit - A unit owned by Player 1 (Red) Finishes construction
Condition:
(Region-A <gen> contains (Position of (Triggering unit))) Equal to True
((Triggering unit) is A Hero) Equal to False
Action:
Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Center of (Region-B <gen> offset by (0.00, 0.00).)) facing Default building facing degrees
Unit - Move (Triggering unit) instantly to (Center of Region-B <gen>)
As the unit is already built in region A repreating the trigger won't do anything.
I thought I needed to change either the event or make a trigger for Set variable = Triggering unit but it doesn't seem to work either. the trigger seems to be dependable on:
Unit - A unit owned by Player 1 (Red) Finishes construction
This is much like Hellhalt TD's battle after level 10 20 30 .. except i need the first built units to stay there and only make copies of themselves each round.
(I have the triggers ready for the rounds but I can't use them if the units can't be recreated)
Sorry if I made a poor job at explaining this. It's the first map I ever make and i'm new to triggers and such.