#include "NW_I0_GENERIC" #include "jw_privates_inc" void main() { object oLastOpener = GetLastOpenedBy(); if (GetIsPC(oLastOpener)) { SetTarget(oLastOpener); SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK); } object oObject=OBJECT_SELF; DelayCommand(15.0,AssignCommand(oObject,ActionCloseDoor(oObject))); DelayCommand(15.5,AssignCommand(oObject,SetLocked(oObject,TRUE))); }