| 10-02-2002, 09:22 PM | #1 |
Guest | OK I done for the beta exept one thing. How do you make teams on your leaderboard? And how do you make it so if Team1 gets 121 kills they win? I can make a leaderboard and update it I just have this one question because its not in any turtoils I saw. I don't know much about the editor so plz speak english >_< Thnx! |
| 10-03-2002, 07:04 AM | #2 |
Guest | The way I'd do it... set up two variables: team1score and team2score, make them integers. If you want, you can use an integer array, but why bother? set up the leaderboard as per normal, with 2 entries on it. Set them to Team 1 and Team 2, whatever colors. Set initial values to 0. Triggers: Event: Unit owned by (player belonging to team 1) dies. Condition: (any conditions you need, if you need to determine unit type etc) Action: Set team2score = team2score+1 Set leaderboard value for team 2 = team2score repeat for other team, you'll have it. Tweak as needed. |
| 10-03-2002, 10:57 AM | #3 |
Guest | Cool, thanks a lot! So, which part is the "Score ammount"? |
| 10-03-2002, 06:32 PM | #4 |
Guest | The variables, team1score and team2score. Every time a kill is made, increment that team's variable however much you want, and set the leaderboard value to that variable. |
| 10-04-2002, 07:27 PM | #5 |
Guest | ...I'm stupid lol please describe trigger ^_^... |
