#265(Rylec) A lua function to be able to set hair_color1, hair color2, hair_type_highlight_color, the same for face hair - and the same for all the equivalent soga colors
skin color is currently getting set as a string with 3 integers (0-255)
Seperator* skinsep = new Seperator(value, ' ', 3, 500, true);
if (skinsep->IsNumber(0) && skinsep->IsNumber(1) && skinsep->IsNumber(2))
{
EQ2_Color clr;
clr.red = atoul(skinsep->arg[0]);
clr.green = atoul(skinsep->arg[1]);
clr.blue = atoul(skinsep->arg[2]);
((Entity*)target)->SetSkinColor(clr);
}
something similar could be done for these fields
eye_color, hair_color1, hair_color2, hair_type_color, hair_face_color, hair_type_highlight_color, hair_face_highlight_color and hair_highlight, and all of them have a soga version as well
add soga_skin_color also
eye_color, hair_color1, hair_color2, hair_type_color, hair_face_color, hair_type_highlight_color, hair_face_highlight_color and hair_highlight, and all of them have a soga version as well
add soga_skin_color also
skin color is currently getting set as a string with 3 integers (0-255)
something similar could be done for these fields
eye_color, hair_color1, hair_color2, hair_type_color, hair_face_color, hair_type_highlight_color, hair_face_highlight_color and hair_highlight, and all of them have a soga version as well
add soga_skin_color also
skin_color existed, here are the new ones: