| 12-04-2003, 09:24 AM | #1 |
How to make a wctory trigger when one of my chracters is attacked or attacks then the battle start and the characters get teleported to the battle field but how to make a victory trigger When one of the fighting team has no units alive when i select a event every 0.1 seconds and a requierment : number of unit n battle (region) owned by Neutrol Enemy equals to 0 Nothing happen what schould i do? maybe it doesnt see that they are dead? |
| 12-04-2003, 04:44 PM | #2 |
Try something like this E - Unit on team1 dies C - if (count units (owned by team1) = 0) A - show victory for all team members on team2 |
| 12-05-2003, 03:38 PM | #3 |
Try this: Events: Generic Unit Event: An unit dies. (This removes any slowdown caused by a periodic trigger running ten times a second.) Conditions: Number of units in (battleRegion) matching (((Matching unit) is Alive) and (Owner of(Matching Unit) equal to Neutral Hostile) equal to 0 Actions: Whatever is supposed to happen. |
