Changed folder name.
Changed folder name.
This commit is contained in:
25
_module/nss/gc_skincolr_prev.nss
Normal file
25
_module/nss/gc_skincolr_prev.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
/*--------------------------------------------------------
|
||||
|
||||
Script Name: gc_skincolr_prev
|
||||
----------------------------------------------------------
|
||||
Created By: Genisys(Guile)
|
||||
Created On: 3/25/09
|
||||
----------------------------------------------------------
|
||||
|
||||
This script changes the PC's Skin color in a conversation.
|
||||
|
||||
----------------------------------------------------------*/
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nIndex = GetLocalInt(oPC, "SKIN_COLOR");
|
||||
int nColor;
|
||||
nColor = nIndex -1;
|
||||
if(nColor == 0)
|
||||
{ nColor = 175; }
|
||||
|
||||
SetLocalInt(oPC, "SKIN_COLOR", nColor);
|
||||
|
||||
SetColor(oPC, COLOR_CHANNEL_SKIN, nColor);
|
||||
|
||||
}
|
Reference in New Issue
Block a user