|
What is wrong with you! you gave us BrickColorValue, and you didn't give us MaterialValue???? I don't wanna have to use a string Value!
Support!!!
~THERE'S NO ROOM 4 STUPID SIGGIES~ |
|
CraftioLoJoin Date: 2014-09-09 Post Count: 1937 |
Yeah, that is weird that they doesnt have this yet! So, support!
THE TRUTH SIGGY:Jumping Bunnies is a secret roblox organisation. They always are first at everything and they are REAL! |
|
|
Thanks
~totally not a hidden bump, or a second siggy~ |
|
froxxxxxJoin Date: 2012-07-23 Post Count: 6917 |
y not
support |
|
ZlikJoin Date: 2013-02-08 Post Count: 8910 |
SOOOOOOOOOOO no support
btw I'm on a diff computer with no siggy automator |
|
|
Why not support. I will be nice today.. |
|
ValoricJoin Date: 2013-11-21 Post Count: 3621 |
support |
|
|
Alright! Support Ratio: 5:1
btw, why no support?
~THERE'S NO ROOM 4 STUPID SIGGIES~ |
|
|
Reasoning behind this:
It is sometimes hard to remember all of the BrickColor values. To fix this, ROBLOX created the BrickColorValue. But it's not hard to remember a dozen material names.
I'm noobtastic |
|
XenonLiJoin Date: 2009-08-19 Post Count: 5013 |
Materials are enums. Brickcolors are userdata.
So, you can store enums like materials as numbers. |
|
|
what in the world...
enums??? so... now I have to memorize a list of random numbers instead of material names?
that's a little odd... |
|
XenonLiJoin Date: 2009-08-19 Post Count: 5013 |
yes
try setting part.Material to 1
it'll work, trust me |
|
XenonLiJoin Date: 2009-08-19 Post Count: 5013 |
apparently it doesn't actually work
enum values are complicated |
|
|
> enums??? so... now I have to memorize a list of random numbers instead of material names?
No.
Workspace.BasePlate.Material = "Wood" |
|
|
@king, I don't want to have to open up a script just to change it rather then just choosing 'wood' in a value. |
|
|
But as the other guy said, BrickColor is userdata and Material is an enum. You use BrickColor.new to create a BrickColor, and Enum.Material.Wood to create a material (or use a string and let it convert on its own). They aren't the same thing, so creating a MaterialValue wouldn't make sense.
Just use a StringValue and do it like you would as if it were a MaterialValue:
Workspace.MaterialValue.Value = "Wood"
Workspace.Part.Material = Workspace.MaterialValue.Value |
|