14 lines
464 B
Plaintext
14 lines
464 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC=GetEnteringObject();
|
||
|
object oZhent=GetNearestObjectByTag("jw_zhent_ftfem");
|
||
|
if (GetIsObjectValid(oZhent)&&GetIsObjectValid(oPC)&&GetIsPC(oPC)&&(!GetIsInCombat(oZhent))&&(!IsInConversation(oZhent))&&(!GetIsInCombat(oPC))&&GetObjectSeen(oPC,oZhent)&&(!GetIsEnemy(oPC,oZhent)))
|
||
|
|
||
|
{
|
||
|
AssignCommand(oZhent, ClearAllActions());
|
||
|
AssignCommand(oPC, ClearAllActions());
|
||
|
AssignCommand(oZhent, ActionStartConversation(oPC,"jw_zhentthrt_con"));
|
||
|
}
|
||
|
|
||
|
}
|