|
| 09 Jan 2013 09:04 PM |
say I had a Bright red part in the workspace and I said print(game.Workspace.Part.BrickColor) I would get "Bright red" as the output.
Is there a way that instead of Bright red it could print the colors numerical value of 21? |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 09:04 PM |
print(game.Workspace.Part.BrickColor.Number)
¬ LuaLearners Writer |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 09:05 PM |
print(Part.BrickColor.Color)
|Paradoxical| I shun thy heathen, dost thou not know that flames will devour thy mind? |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 09:05 PM |
http://wiki.roblox.com/index.php/Color3
Bottom of the page
|Paradoxical| I shun thy heathen, dost thou not know that flames will devour thy mind? |
|
|
| Report Abuse |
|
|
| |
|
Luc599345
|
  |
| Joined: 25 Jul 2008 |
| Total Posts: 1169 |
|
|
| 09 Jan 2013 09:08 PM |
| Massive, we don't want its RGB, we want its number that ROBLOX associated to the BrickColor. |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 09 Jan 2013 09:10 PM |
| print(BrickColor.new("Bright red").Number) |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 09:11 PM |
Oh, Sorry. I usually use color3s..My bad.
|Paradoxical| I shun thy heathen, dost thou not know that flames will devour thy mind? |
|
|
| Report Abuse |
|
|
Luc599345
|
  |
| Joined: 25 Jul 2008 |
| Total Posts: 1169 |
|
|
| 09 Jan 2013 09:22 PM |
| Btw Massive, you shouldn't have two-lines siggy. It's against the rules... hide before the admins see it :O |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 09:23 PM |
| Well now I will know how to do it to get the color 3 of a brickcolor to so thankyou :3 |
|
|
| Report Abuse |
|
|
| |
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 09 Jan 2013 09:24 PM |
| And for future reference, http://wiki.roblox.com/index.php/BrickColor |
|
|
| Report Abuse |
|
|