| Author | Sticky: Post Working Scripts Here |
| Ithalyan | Posted: Saturday, 29 June 04:44AM |
| Items & Corpse Cleanup in an Area ================================== Place this on the OnHeartBeat (loathe as I was to use it) event of any Placeable that will never get destroyed (set it to plot), Invisible object is a good one to place it on. Add that Invisible object to your pallete so you can easily use this over and over again. This will destroy any object that is left on the ground for around 5 minutes. The problem with past 'Janitor' scripts and cleanup scripts is that they treated Loot drops as ITEMS. They are not, they are Placeables with Inventory. In order to have destroyed them, you need to empty them out, which is what this script does. The key was, that all corpse treasure left behind by creatures is labled with the tag 'body bag'. Without further delay, here ya go
|
|