Difference between revisions of "OnDrop"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Ecaponi
 
imported>JOG
(Moved to "Category: Blocktypes")
Line 7: Line 7:
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.  
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.  


[[Category: Commands]]
[[Category: Blocktypes]]

Revision as of 02:55, 26 May 2006

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.