Battledale_PRC8/_module/nss/jw_br_ce_fail_dr.nss

16 lines
312 B
Plaintext
Raw Permalink Normal View History

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?"));
}
}