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 » Scripting Helpers
Home Search
 

Re: GetCharacter Team Color

Previous Thread :: Next Thread 
Rairyu is not online. Rairyu
Joined: 11 Apr 2011
Total Posts: 815
07 Apr 2014 11:17 AM
Could they both be related through the fact that they're both a member of Players?
Report Abuse
Rairyu is not online. Rairyu
Joined: 11 Apr 2011
Total Posts: 815
07 Apr 2014 07:05 PM
Get bumped.
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
07 Apr 2014 07:08 PM
What?
Report Abuse
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
07 Apr 2014 07:09 PM
What is character Team Color

i'm asian
Report Abuse
Rairyu is not online. Rairyu
Joined: 11 Apr 2011
Total Posts: 815
07 Apr 2014 07:13 PM
Oh forgive me let me rephrase that

GetPlayerFromCharacter() and the TeamColor property

As they are both connected to the Players property, could they be used in conjunction with each other?
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
07 Apr 2014 07:15 PM
game.Players:GetPlayerFromCharacter(character object).TeamColor
Report Abuse
Rairyu is not online. Rairyu
Joined: 11 Apr 2011
Total Posts: 815
07 Apr 2014 08:03 PM
^Could you simplify that into English terms please?
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
07 Apr 2014 08:16 PM
Let's say you have a character in Workspace.

Workspace.David

Okay, well how do you get that character's player?

game.Players:GetPlayerFromCharacter(Workspace.David)

Cool. Well, if you want to get a character's team color then...

team = game.Players:GetPlayerFromCharacter(Workspace.David).TeamColor
Report Abuse
Ariophy is not online. Ariophy
Joined: 08 Mar 2014
Total Posts: 81
07 Apr 2014 08:16 PM
^^^^
Report Abuse
Rairyu is not online. Rairyu
Joined: 11 Apr 2011
Total Posts: 815
07 Apr 2014 08:35 PM
Much thanks.
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
07 Apr 2014 08:36 PM
No problem.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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