Initial commit. Updated release archive.

This commit is contained in:
Jaysyn904
2024-06-20 15:47:42 -04:00
parent d14b20cb85
commit e49d03aa23
6897 changed files with 6107848 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
void main()
{
// Trash Eater Script by Tim Stursma October 6, 2002
// Delete All Contents Of Container When Closed
// Place on the "On Close" handle
// Start by defining oObject
object oObject = OBJECT_INVALID;
// Actions cleared
ClearAllActions();
// Get the first object in the container
oObject = GetFirstItemInInventory();
// Make sure the object is valid else end the script
while(oObject != OBJECT_INVALID)
{
// Destroy the object with a slight delay
DestroyObject(oObject, 0.1);
// Get the next item in the container
oObject = GetNextItemInInventory();
// Return to the valid object check
}
}