OnDrop

From the Oblivion ConstructionSet Wiki
Revision as of 18:36, 31 January 2006 by imported>Ecaponi
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

 begin OnDrop ContainerRefID (optional) 

Example:

 begin OnDrop 
 begin OnDrop player 

This block will be run once when the scripted object is dropped from the Container's inventory. If no parameter is used, the block will be run whenever the object is dropped from anything's inventory.