Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
This commit is contained in:
22
nwnds_module/dhd_close.nss
Normal file
22
nwnds_module/dhd_close.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//******************************************************************************
|
||||
//* stargatish portal script put on_close for dhd
|
||||
//* written by BWW aka Lord Nikon
|
||||
//* 12/05/04
|
||||
//* clears runes out of inventory and gets ready for next use
|
||||
//******************************************************************************
|
||||
|
||||
void main()
|
||||
{
|
||||
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
if (oItem == OBJECT_INVALID) return;
|
||||
while (oItem != OBJECT_INVALID)
|
||||
{
|
||||
DestroyObject(oItem);
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
if (oItem == OBJECT_INVALID) break;
|
||||
}
|
||||
//SendMessageToPC(GetFirstPC(),"DONE WITH CLOSE SCRIPT");
|
||||
|
||||
}
|
Reference in New Issue
Block a user