Advertisement - Why am I seeing ads? Report
   
 

Is there any way to get all Ambient colors?

Sort:
Previous Thread :: Next Thread 
wushue34 is not online. wushue34
Joined: 08 Jun 2008
Total Posts: 6652
23 Feb 2010 03:00 PM
Like for a command script I'm making, can you get a list of all the Ambient colors?
Or is that impossible?

maybe?:

function onChatted(msg, speaker)
if string.sub(string.lower(msg,1,7)) == "ambient/" then
light = game.Lighting.Ambient
for i = 1 game.Lighting#light (string.sub(msg,15))
end
end

So is it possible?
ReplyReport Abuse
bobob55 is not online. bobob55
Joined: 24 Jul 2008
Total Posts: 4522
23 Feb 2010 03:01 PM
What do you mean exactly?...
ReplyReport Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29443
23 Feb 2010 03:27 PM
All possible Color3 values? Easy.
256^3 or 16777216
ReplyReport Abuse
wushue34 is not online. wushue34
Joined: 08 Jun 2008
Total Posts: 6652
23 Feb 2010 03:55 PM
Thanks!
ReplyReport Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11036
23 Feb 2010 04:01 PM
But they don't translate to a number (or back)... so...
ReplyReport Abuse
wushue34 is not online. wushue34
Joined: 08 Jun 2008
Total Posts: 6652
23 Feb 2010 04:37 PM
Oh well...
ReplyReport Abuse
sunshine0299 is not online. sunshine0299
Joined: 16 Sep 2009
Total Posts: 50
12 Jun 2010 09:08 PM
how get pink?
ReplyReport Abuse
GoldenUrg is not online. GoldenUrg
Joined: 23 Aug 2009
Total Posts: 6428
12 Jun 2010 09:52 PM
If you're trying to make a GUI selector, just use the BrickColor palette and then get the Color property. That gives a set of basic colors.
ReplyReport Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
Add a Reply
 
   
 
Advertisement Report