obj/hair
icon = 'hairmale.dmi'
Click()
var/U = usr
var/haircolor = F_Color_Selector.Get_Color(U)
var/icon/I = new('hairmale.dmi')
I.Blend(haircolor)
usr.overlays += I
I realize that I'm only creating an icon and that by doing that I can't really assign a layer to it, Or can I? If yes then how? And if not, then how would I go about creating a type of obj that has the layer assigned to it. Note that I am using Flick's Color selector, though I'm sure you realized that. Help is greatly appreciated.
Thanks,
Resonating Light
You'll have to use I.Blend(haircolor,ICON_MULTIPLY) here to get this to work well.
Don't add an icon as the overlay; create an obj, set the icon to that, and then add it. (I don't think an /icon can be added directly as an overlay anyway, as far as I know, because it's not the same as a regular icon.)
Lummox JR