15 lines
402 B
Plaintext
15 lines
402 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oNPC = GetObjectByTag("EK_ELDER_SAN");
|
||
|
object oPC = GetEnteringObject();
|
||
|
if(GetIsPC(oPC) &&
|
||
|
GetLocalInt(oPC,"Dlg_Init_" + GetTag(oNPC)) == FALSE &&
|
||
|
!IsInConversation(oNPC))
|
||
|
{
|
||
|
AssignCommand(oPC,ClearAllActions());
|
||
|
AssignCommand(oNPC,ClearAllActions());
|
||
|
AssignCommand(oNPC,ActionMoveToObject(oPC));
|
||
|
AssignCommand(oNPC,ActionStartConversation(oPC));
|
||
|
}
|
||
|
}
|