Battledale_PRC8/_module/nss/nk_drcloselck240.nss

20 lines
338 B
Plaintext
Raw Permalink Normal View History

#include "NW_I0_GENERIC"
#include "jw_privates_inc"
void main()
{
ActionWait(240.0);
ActionCloseDoor(OBJECT_SELF);
SetLocked(OBJECT_SELF, 1);
object oLastOpener = GetLastOpenedBy();
if (GetIsPC(oLastOpener))
{
SetTarget(oLastOpener);
SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK);
}
}