About: Container disappears when empty   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

This container disappears when empty script causes a container to vanish after it has been emptied of loot. This script is suitable for use as the OnClose event handler for a placeable. /******************************* Script: Container Disappear When Empty Created By: Jaden Wagener Created On: 08/30/02 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / if ( GetFirstItemInInventory(OBJECT_SELF) == OBJECT_INVALID ) { DestroyObject(OBJECT_SELF, 0.0); } }

AttributesValues
rdfs:label
  • Container disappears when empty
rdfs:comment
  • This container disappears when empty script causes a container to vanish after it has been emptied of loot. This script is suitable for use as the OnClose event handler for a placeable. /******************************* Script: Container Disappear When Empty Created By: Jaden Wagener Created On: 08/30/02 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / if ( GetFirstItemInInventory(OBJECT_SELF) == OBJECT_INVALID ) { DestroyObject(OBJECT_SELF, 0.0); } }
dcterms:subject
abstract
  • This container disappears when empty script causes a container to vanish after it has been emptied of loot. This script is suitable for use as the OnClose event handler for a placeable. /******************************* 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); } }
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software