OnDrop

From the Oblivion ConstructionSet Wiki
Revision as of 02:55, 26 May 2006 by imported>JOG (Moved to "Category: Blocktypes")
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.