| 11-04-2004, 08:07 PM | #1 |
Hello, i wonder if Integer is personal, can hold 1 number to each player. And I also want to do this Event > Every 2 seconds of the time Condition > Action > Pick all players If all conditions are true, then do actions Condition > Picked player has the value 0 in Lives (Possible?) Then > Pick all units owned by Picked Player and Kill Picked unit Else > Do nothing As i dont know how to do, i made it red to make it easier to see. |
| 11-04-2004, 08:10 PM | #2 |
Make an integer array, so you can do: LivesLeft[Player#] |
| 11-04-2004, 08:16 PM | #3 |
Yes in the variable editor check array and change size to the number of your players, then you can use variable[4] for player 4 as an example. |
| 11-04-2004, 08:55 PM | #4 |
Thanks ^_^ i think i got it working and now know how it works ^_^ Thanks, but i need help with this :\ I know this i maybe alot work, but i dont really know how to do a leaderboard. I tryed to look and change at a already made one, but it all got wrong. I want to do a leaderboard that showes _____________________ Name Lives nickname1 Lives1 nickname2 Lives2 nickname3 Lives3 ... (The map got 12 players, all Users) |
| 11-04-2004, 09:48 PM | #5 |
For that you need to use that array you made before and when it changes do something like For each Integer A from 1 to 12 do -set value for Player((Integer A))in LEADERBOARD to lives[(Integer A)] |
