generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Return Number based on number of false values

Previous Thread :: Next Thread 
CDDevelopment is not online. CDDevelopment
Joined: 16 Mar 2016
Total Posts: 509
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
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
16 Apr 2016 11:28 PM
Iterate through all players, check the TeamColor and then the BoolValue's value?
Report Abuse
CDDevelopment is not online. CDDevelopment
Joined: 16 Mar 2016
Total Posts: 509
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
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
16 Apr 2016 11:50 PM
It will "happen in a split second," conditional statements are not slow lol.
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
17 Apr 2016 12:28 AM

Conditionals happen in nanoseconds, friend.
Report Abuse
DevVince is not online. 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
CDDevelopment is not online. CDDevelopment
Joined: 16 Mar 2016
Total Posts: 509
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image