- Joined
- Apr 3, 2007
- Messages
- 293
I have a variable with an array of 10. I want to make my trigger so that when a unit enters that region, he will be added to the variable. Once it gets to 10, the game ends. I can't seem to get it to add. I have...
-
Event-Unit Enters Region
-
Condition-Owner of Triggering Unit = to Dark Green
-
Action-Set (Unit trigger)[(Interger A)]=(entering unit)
-
______________________________________________
-
Event-Unit Enters Region
-
Condition-Triggering unit equal to (Unit Trigger)[10]
-
Action-Victory Player 1 red