Battledale_PRC8/_module/nss/nk_fp_pp01.nss

13 lines
358 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oPC = GetEnteringObject();
object oDoor = GetNearestObjectByTag("NK_FP_DOOR01", OBJECT_SELF, 1);
if (GetIsPC(oPC))
{
SetLocked(oDoor, 0);
ActionOpenDoor(oDoor);
PlaySound("as_sw_stonplate1");
SendMessageToPC(oPC, "You hear the rumbling sound of a door opening not too far away.");
}
}