HiddenTradition_PRC8/_module/nss/hamanperceive.nss
2024-06-20 15:47:42 -04:00

24 lines
404 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.2
For download info, please visit:
http://www.angelfire.com/space/lilacsoul */
//Goes OnPerceived of a creature
void main()
{
object oPC = GetLastPerceived();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("dt_JPalaceMainInt");
AssignCommand(oTarget, ActionCloseDoor(oTarget));
SetLocked(oTarget, TRUE);
}