Staredit Network

Staredit Network -> UMS Assistance -> cant figure this trigger out..
Report, edit, etc...Posted by Zack- on 2007-01-20 at 17:39:14
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?
Report, edit, etc...Posted by Falkoner on 2007-01-20 at 19:10:40
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.
Report, edit, etc...Posted by Zack- on 2007-01-20 at 19:22:08
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.
Report, edit, etc...Posted by Falkoner on 2007-01-20 at 20:40:55
Sorry if it was confusing, tell me if you want me to restate it.
Report, edit, etc...Posted by fritfrat(U) on 2007-01-20 at 21:40:58
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.
Report, edit, etc...Posted by Zack- on 2007-01-21 at 00:20:39
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?
Report, edit, etc...Posted by Falkoner on 2007-01-21 at 09:58:09
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.
Next Page (1)