Hi, I'm trying to make a trigger that Picks every unit in region A and creates a corresponding unit to another region B based on the type of unit that was picked. I'm using point value to determine which unit corresponds to each picked unit. (this seems easier)
I need a better way to make use of point-value somehow ..
I think this is similar to how they trigger Legion TD, but i'm not sure how they triggered that.
Currently the trigger doesn't work at all, not sure why .. but even if it did, I don't think it would work right.
-
Trigger 1
-
Events
-
Unit - A unit Finishes construction
-
-
Conditions
-
Actions
-
Set VariableSet UnitZ = Constructed structure
-
-------- - --------
-
Set VariableSet FighterY[1] = Footman
-
Set VariableSet FighterY[2] = Knight
-
Set VariableSet FighterY[3] = Rifleman
-
-
-
Trigger 2
-
Events
-
Time - Every 5.00 seconds of game time
-
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in Region_A) and do (Actions)
-
Loop - Actions
-
Unit - Create 1 FighterY[(Point-value of UnitZ)] for (Owner of (Picked unit)) at Center of region B facing Default building facing degrees
-
-
I need a better way to make use of point-value somehow ..
I think this is similar to how they trigger Legion TD, but i'm not sure how they triggered that.
Currently the trigger doesn't work at all, not sure why .. but even if it did, I don't think it would work right.
Last edited: