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:
30
_module/nss/swt_door_close.nss
Normal file
30
_module/nss/swt_door_close.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "NW_I0_GENERIC"
|
||||
#include "jw_privates_inc"
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: swt_door_close
|
||||
//:: swt_door_close.nss
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Lysandius
|
||||
//:: Created On: 28-06-2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oLastOpener = GetLastOpenedBy();
|
||||
|
||||
DelayCommand(20.0, ActionCloseDoor(OBJECT_SELF));
|
||||
|
||||
if (GetIsPC(oLastOpener))
|
||||
{
|
||||
SetTarget(oLastOpener);
|
||||
SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user