Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 24 Dec 2016 02:01 PM |
| If you have multiple 1v1 battles. how do you determine the winner of each and make sure deaths outside of a battle are not counted? |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2016 02:07 PM |
insert current participants in a table?
humanoid.Died:connect(function() if playing[player.Name] then return true end return false end
Formerly ToxicDominator - add 30,319 posts |
|
|
| Report Abuse |
|
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 24 Dec 2016 02:39 PM |
| ######################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### |
|
|
| Report Abuse |
|
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 24 Dec 2016 02:45 PM |
Ye I have started doing something like this.
If I had a table of 10 players; (5 1v1 battles) id be able to detect if a player had died, but how would I know who won each battle.
Say in every case the players are matched in the order of they are in indexed the table p1 v p2 | p3 v p4 etc
I need to figure out who dies first. I could probably hard code it for each individual match but id like it to work for ########## of players. |
|
|
| Report Abuse |
|
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 24 Dec 2016 02:46 PM |
I don't know what is going on with roblox's sanitizer but the hashes are supposed to be
"@ny numbr" |
|
|
| Report Abuse |
|
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
| |
|