23 lines
430 B
Plaintext
23 lines
430 B
Plaintext
|
#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(60.0,AssignCommand(oObject,ActionCloseDoor(oObject)));
|
||
|
DelayCommand(60.5,AssignCommand(oObject,SetLocked(oObject,TRUE)));
|
||
|
|
||
|
//
|
||
|
}
|