LaZyNation43
New Member
- Reaction score
- 2
Hello
I have a question.. I am currently working on a mode called "Same Races"
What this does is it waits until Player 1 (Red) constructs a tower, a specific tower, out of 64. One of those 64 towers will be constructed, and then I want Player 2, 3, 4, 5, and 6, to get the same constructed structure at their own personal region.
This is what I have right now.. it works, but I would have to do this about 385 times.. I'm trying to figure out an easier way to work this.
Sigh.. any ideas how to do this in an easier way without having to copy/paste this 384 more times and change the data?
I have a question.. I am currently working on a mode called "Same Races"
What this does is it waits until Player 1 (Red) constructs a tower, a specific tower, out of 64. One of those 64 towers will be constructed, and then I want Player 2, 3, 4, 5, and 6, to get the same constructed structure at their own personal region.
This is what I have right now.. it works, but I would have to do this about 385 times.. I'm trying to figure out an easier way to work this.
Code:
Same Race
Events
Unit - A unit owned by Player 1 (Red) Finishes construction
Conditions
Actions
If ((Unit-type of (Constructed structure)) Equal to Footman) then do (Unit - Create 1 (Unit-type of (Constructed structure)) for Player 2 (Blue) at (Center of Blue Random Spawn <gen>) facing Default building facing (270.0) degrees) else do (Do nothing)
Sigh.. any ideas how to do this in an easier way without having to copy/paste this 384 more times and change the data?