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