|
| 23 Oct 2011 11:45 AM |
I know this doesnt belong here. Nobody in the Scripting Helpers forum is actually a scripter. So here's this pretty simple script that isn't functional and I dont know why.
So heres my script: while true do script.Parent.Mesh.VertexColor = Vector3.new(0.3, 0.3, 0.3) wait(.5) script.Parent.Mesh.VertexColor = Vector3.new(1, 1, 0.5) wait(.01) script.Parent.Mesh.VertexColor = Vector3.new(0.3, 0.3, 0.3) wait(.01) script.Parent.Mesh.VertexColor = Vecotr3.new(1, 1, 0.5) wait(.01) end
I've tried to find the problem, but I cant. I don't see whats wrong with it. Heres what I did: 1. I got a meshed brick and named it "Light" 2. I made this script, then named it "Animate" 3. I moved this script from the Workspace to the Light.
What's wrong? I wanted to make a flashing light, but it wont work without this... |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2011 11:58 AM |
'Nobody in the Scripting Helpers forum is actually a scripter' Blashemy
'I know this doesnt belong here' Yet you still post it here
Also, Y U NO OUTPUT? |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 23 Oct 2011 12:15 PM |
VertexColor = Vector3.new(0.3, 0.3, 0.3)
It's Color3. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 23 Oct 2011 12:18 PM |
| Does VertexColor actually work? |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
| |
|
flump
|
  |
| Joined: 30 Jul 2008 |
| Total Posts: 1039 |
|
|
| 23 Oct 2011 12:20 PM |
| Vertexcolor works if there is a TextureId as it edits the texture not the block |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2011 03:46 PM |
My block is Dark stone grey, which is the 1, 1, 0.3, and the yellow is 0.3, 0.3, 0.3.
Everybody in scripting helpers is looking for help. Not giving it out :U I've posted this there, too. |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2011 04:16 PM |
"VertexColor = Vector3.new(0.3, 0.3, 0.3)
It's Color3."
Lies, go look at the SpecialMesh class.
~+[Y U NO WORSHIP BLOCCO?]+~ |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2011 07:47 AM |
You can get custom colors???
Why did nobody tell me??? I would propably have needed this a long time ago while making a flashing light on top of an antenna! T.T |
|
|
| Report Abuse |
|
|
arundel
|
  |
| Joined: 21 Apr 2008 |
| Total Posts: 5762 |
|
|
| 24 Oct 2011 09:47 AM |
| @Radio, even a long time ago you could give decals custom colors AND transparency by using a mesh which's ID leads to a blockmesh, then give it a textureid! :3 |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 24 Oct 2011 10:15 AM |
print(BrickColor.new("Color").Color3)
Now put those numbers inside the Color3.new:
Color3.new(numbers) |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2011 10:27 AM |
@myrco
that picks the closest brickcolor |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
| |
|
| |
|
|
| 24 Oct 2011 10:42 AM |
| nowait i didnt read wut cho said |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2011 02:35 PM |
I believe you can use either Color3 or Vector3 for a VertexColor. That's what I heard a while back anyways :l
@OP: "Vecotr3"
Fix your typos. Then your script might work.
Regards, ~Scarfacial |
|
|
| Report Abuse |
|
|