|
| 16 Apr 2016 11:28 PM |
so heres what I need. I need a way to find if all players on a certain team are currently dead. I've marked their death by a boolvalue in their Backpack. What I need is to get the players that are on a certain team and find Backpack.Eliminated.Value
then game.Workspace.Bombs.Attackers.Value will = the number of players who have Backpack.Eliminated.Value == false and are on the right team |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 11:28 PM |
| Iterate through all players, check the TeamColor and then the BoolValue's value? |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 11:32 PM |
| needs to happen in a split second and I really want to avoid all the conditional statements that will require. |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 11:50 PM |
| It will "happen in a split second," conditional statements are not slow lol. |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2016 12:28 AM |
Conditionals happen in nanoseconds, friend. |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 17 Apr 2016 12:37 AM |
They will respawn... Move the value into the player. |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2016 12:40 AM |
| they dont i fixed my own issue, yu can check it out at battleops reloaded. I was getting the game to end when the attack team members were dead |
|
|
| Report Abuse |
|
|