14 lines
438 B
Plaintext
14 lines
438 B
Plaintext
|
void main()
|
||
|
{
|
||
|
//object oBookshelf = GetNearestObjectByTag("searchlibrary",OBJECT_SELF);
|
||
|
object oBookshelf = GetNearestObjectByTag("Bookshelf",OBJECT_SELF);
|
||
|
object oPC = GetPCSpeaker();
|
||
|
string sPCName = GetName(oPC);
|
||
|
string sPlayerName = GetPCPlayerName(oPC);
|
||
|
string sPubCDKey = GetPCPublicCDKey(oPC);
|
||
|
string sFullID = sPCName + sPlayerName + sPubCDKey;
|
||
|
|
||
|
SetLocalInt(oBookshelf,"PCSearch",1);
|
||
|
SetLocalString(oBookshelf,"PCID", sFullID);
|
||
|
}
|