![]() |
|
NPC skin color problem - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: NPC skin color problem (/Thread-NPC-skin-color-problem) |
NPC skin color problem - kilopi_3142 - 02-09-2015 07:40 PM Code: [CHARDEF c_fisher]Hi all, I was working on sphere yesterday and have encountered with a problem. Let me try to explain this in English ![]() As you can see, character definiton script of "C_fisher" is above. At the "Create" trigger of this script, there is an item called " ITEM=random_hats,1,R5". and its color called "COLOR=colors_all". The problem is; If sphere doesnt create the hat because of the randomize of the script, then npc's skin is getting the color code from the hat's color code "COLOR=colors_all". Sorry but, I've searched about this problem but couldnt find anything I've removed the randomize from the script and the skin color problem is gone but i'm curious about any other solution.
|