| 05-30-2006, 12:12 AM | #1 |
Im doing this: Event: Unit - A unit owned by Player 2 (Blue) DiesAction: Leaderboard - Change the valvue for Player 1 (Red) in (Last created leaderboard) to 1And i want to know, what i have to make for every time that an Blue Unit dies, the Leaderboard change the Number of Kills for Player 1. Because, with this im doing, it won't leave from Number 1. P.S: Sorry, i don't know how to use this [trigger] TAG :/ |
| 05-30-2006, 12:44 AM | #2 |
You'll probably want to assign a integer variable like Player1Kills and use it for the value. Trigger: Action:
![]() Set Player1Kills = Player1Kills + 1
![]() Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Player1Kills |
| 05-30-2006, 12:59 AM | #3 | |
Quote:
I never made an Leaderboard :/ |
| 05-30-2006, 01:49 AM | #4 |
Use the arithmetic function. It lets you specify two integers, and an operation (such as addition) |
| 05-30-2006, 08:48 AM | #5 |
Do these instructions: Click 'Create new Action', like you normally would Click on - All dropdown menu, and select General Then click Set Variable Select Your Variable Click Value, then click Value again. Another window will have poped up, in that new window, select your variable from the top. So it looks like this: http://wc3campaigns.net/attachment.p...1&d=1148978825 Then press ok and change your final addition, (+1, +1000, -4, -99 etc) unless you dont want too. |
| 05-30-2006, 05:10 PM | #6 | |
Quote:
Im Dark Bane, i wasnt finding my Password for this User. But, Thanks..ALOT! |
