of     1   

warspyking
#140187303Sunday, July 13, 2014 11:21 AM GMT

Yes, when reading from a table you can use a metatable with __index to return something else, but I want it for when you read the actual table. For example; X = {LOL = 5, IDK = 5, IDC = 10} print(X) --> 500 print(X.LOL) --> 5
warspyking
#140188738Sunday, July 13, 2014 12:01 PM GMT

Anybody? I would love for a good answer to this...
warspyking
#140193592Sunday, July 13, 2014 2:01 PM GMT

Help..?
warspyking
#140197775Sunday, July 13, 2014 3:12 PM GMT

It's lovely when you actually get help..
warspyking
#140205542Sunday, July 13, 2014 5:03 PM GMT

Bump
[rfa#hidefromsearch]
#140205856Sunday, July 13, 2014 5:07 PM GMT

[rfa#hidefromsearch]
[rfa#hidefromsearch]
#140206074Sunday, July 13, 2014 5:10 PM GMT

[rfa#hidefromsearch]
warspyking
#140209734Sunday, July 13, 2014 5:55 PM GMT

I need it return a Color3. Should have mentioned that.
warspyking
#140213547Sunday, July 13, 2014 6:35 PM GMT

Hi
warspyking
#140235297Sunday, July 13, 2014 10:16 PM GMT

When I first starting asking/answering questions on SH, it was so much more helpful. That wasn't to long ago actually. Now it takes multiple bumps to get an answer. What happened?
warspyking
#140242329Sunday, July 13, 2014 11:36 PM GMT

You Obviously Lack Originality
Lacryma
#140243319Sunday, July 13, 2014 11:49 PM GMT

HELLO WORLD!!! hi war xdddd
warspyking
#140243640Sunday, July 13, 2014 11:52 PM GMT

Well, erm, hi duel..? Would you like to, err, help?
Lacryma
#140243945Sunday, July 13, 2014 11:56 PM GMT

You say you want it to return a Color3 value, but will the element stored in the table be a color3?
warspyking
#140245357Monday, July 14, 2014 12:13 AM GMT

Duel, here's a little bit of background information on the script. Basically I'm creating (you're gonna say it's a waste of time) Color4 Basically it adds a color onto the regular Color3 (Yellow) Here's the script so far; Color4 = { new = function(r, g, b, y) local r = r or 0 local g = g or 0 local b = b or 0 local y = y or 0 return Color3.new(r + y / 2, g + y/2, b) or Color3.new(r, g, b) end } return Color4 It's a ModuleScript. Anyway, it works well and fine, but if you try to get the properties of r, or g, they will be incorrect. If you try to get y it will be nil, blue however is fine. I need to add in the properties, so first solution that I thought of was to make it return a table of properties, that when read itself returns a Color3. Help?
warspyking
#140246881Monday, July 14, 2014 12:29 AM GMT

I really need help on this thread ya know; http://www.roblox.com/Forum/ShowPost.aspx?PostID=140187303
Lacryma
#140247820Monday, July 14, 2014 12:39 AM GMT

"Color4" LOL pointless
warspyking
#140248360Monday, July 14, 2014 12:44 AM GMT

Knew you'd say that. Anybody got a serious answer?
Lacryma
#140248722Monday, July 14, 2014 12:48 AM GMT

COLOR4 ZOMG LOL
warspyking
#140252868Monday, July 14, 2014 1:29 AM GMT

I knew it was just a matter of time 'till he started trolling.
warspyking
#140290367Monday, July 14, 2014 10:31 AM GMT

Help.

    of     1