Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can you help me with Brick Values?

Asked by 9 years ago

So you must know that there is a BrickColorValue in the Advanced Objects. I am using this to change the color of the part the Tycoon Dropper is dropping. I wanted to do that same with the material but would the BrickColorValue work for that also in someway? If not what could I do? Thanks!

1 answer

Log in to vote
2
Answered by
davness 376 Moderation Voter
9 years ago

No. Material property is not like BrickColor, but you can use a string value. So you must to use a StringValue object and type the correct material name (ex: "Cobblestone")

0
Material is NOT a string. It's a Material Enum. BlueTaslem 18071 — 9y
0
but you can use strings to change material. I already tested it davness 376 — 9y
0
Enum is better. Using strings is not actually reliable incase you made a typo. Also, 0 is a sphere in enum for shapes. EzraNehemiah_TF2 3552 — 9y
0
but he wants to have an out-of-script object davness 376 — 9y
Ad

Answer this question