| 07-07-2004, 07:53 PM | #1 |
I'm making my own footmen wars, and i need to construct win conditions. It's 12 player 3v3v3v3. The building are placed with a trigger. When 3 forces townhalls are destroyed the surviving force should win. I'm not sure how to do this... |
| 07-08-2004, 12:07 AM | #2 |
the meele winning conditions |
| 07-08-2004, 01:21 AM | #3 |
Make a variable for each the forces, then do this: Event- a unit dies Condition- unit type of dying unit equal to (your townhall, if there is multiple types of ones, use unit classification check instead) Action- If then else-If owner of dying unit is on (one of the forces) then do set the variable for that force +1 else(Do the same action as before, but setting the other force variable). Another action comes after If\then\else -Integer comparison-(Variable of one of the forces) equal to 3 Then set victory for the other one and defeat all the other players. (do another if\then\else for the other force). You can put a cinemmatic or something on the last if\then\else functions, just make sure to put what I said. |
