HoS_PRC8/_mod/_module/nss/mg_read_book.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

11 lines
309 B
Plaintext

// read a book
void main()
{
object oPC=GetClickingObject();
object oWP=GetNearestObjectByTag("BOOK_NAME",oPC);
string sConv=GetName(oWP);
SendMessageToPC(oPC,"You clicked on "+sConv);
AssignCommand(oPC,ClearAllActions());
AssignCommand(oPC,ActionStartConversation(oPC,sConv,TRUE,FALSE));
}