Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
12
_module/nss/nk_fp_pp01.nss
Normal file
12
_module/nss/nk_fp_pp01.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
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.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user