so..im making a tourny map for obs dodging
i want to add the option win by 1 or 2 points
say person 1 has score 5 and person 2 has score 4, if option 2 was chosen i want it to go untill person 1 has 2 more than person 2, like 6-4, or 7-5...etc
how would i do this?
I think a way to do it would be to create a unit if a player gets in the lead, using most points, condition, then give all the other players a point so they catch up. Then if another player gets ahead, and the first player has a unit there, simply kill the unit, and set all them even. That should work. The player to get 2 units, or 1 unit in that area wins.
QUOTE(Falkoner @ Jan 20 2007, 07:10 PM)
I think a way to do it would be to create a unit if a player gets in the lead, using most points, condition, then give all the other players a point so they catch up. Then if another player gets ahead, and the first player has a unit there, simply kill the unit, and set all them even. That should work. The player to get 2 units, or 1 unit in that area wins.
[right][snapback]616092[/snapback][/right]
hmm, kind of hard to understand but im starting to.
Sorry if it was confusing, tell me if you want me to restate it.
I'd suggest that instead of just keep counting up to do it like in tennis, where you just say that a certain player has an advantage or their tied. More specifically...
Do the triggers for a 6-4 win, a 4-6 loss, a normal 5-atmost3 win, a atmost3-5 loss, and then at 5-5 go into a separate counter for advantage player 1 or player 2. Once here, just set a switch or dc and change the leaderboard you're using to show advantage or disadvantage, and once they get 2 of this type of score, victory.
Hmm, that actually is a rather inefficient way to do it. Do falk's method, lol.
QUOTE(Falkoner @ Jan 20 2007, 08:40 PM)
Sorry if it was confusing, tell me if you want me to restate it.
[right][snapback]616142[/snapback][/right]
yes falk, can you please rephrase?
This will take quite a few triggers, when a player has the most points(it's a condition) and no one has a unit at some spawn place, then spawn 1 unit there, then move everyone elses score up so that they are even again. But if there IS a unit there, then kill that unit and don't add anything. Do this for all players and then you can just make them win once they get 2 units in that area.