PGCC_PRC8/_module/nss/vat_portraitnext.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

8 lines
271 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
int iPortraitID = GetPortraitId(oPC) + 1;
SetPortraitId(oPC, iPortraitID);
FloatingTextStringOnCreature("Portrait name = " + GetPortraitResRef(oPC) + ", Portrait ID = " + IntToString(iPortraitID), oPC, FALSE);
}