16 lines
312 B
Plaintext
16 lines
312 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC=GetClickingObject();
|
||
|
object oZhent=GetNearestObjectByTag("tri_zhentguard");
|
||
|
AssignCommand(oZhent,SetFacingPoint(GetPosition(oPC)));
|
||
|
|
||
|
if (GetObjectSeen(oPC,oZhent))
|
||
|
{
|
||
|
AssignCommand(oZhent,SpeakString("You leave that alone"));
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
AssignCommand(oZhent,SpeakString("What that?"));
|
||
|
}
|
||
|
}
|