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.
22 lines
427 B
Plaintext
22 lines
427 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(15.0,AssignCommand(oObject,ActionCloseDoor(oObject)));
|
|
DelayCommand(15.5,AssignCommand(oObject,SetLocked(oObject,TRUE)));
|
|
|
|
}
|