Area & spawner pass.
Updated Aragnak's Isle & Lair, Bard College, Cazrak's Lair. Remade several items.
This commit is contained in:
14
_module/nss/close_vanish.nss
Normal file
14
_module/nss/close_vanish.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
/*******************************
|
||||
Script: Container Disappear When Empty
|
||||
Created By: Jaden Wagener
|
||||
Created On: 08/30/02
|
||||
*******************************/
|
||||
//Causes a container to be destroyed once the loot inside is taken.
|
||||
//Should be placed in a placeable container's OnClose slot.
|
||||
void main()
|
||||
{
|
||||
if ( GetFirstItemInInventory(OBJECT_SELF) == OBJECT_INVALID )
|
||||
{
|
||||
DestroyObject(OBJECT_SELF, 0.0);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user