11 lines
309 B
Plaintext
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));
|
|
}
|