8 lines
271 B
Plaintext
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);
|
|
}
|