Difference between revisions of "OnDrop"

9 bytes removed ,  13:34, 20 January 2009
m
changed lay-out
imported>Illyism
(added NoToc)
imported>Illyism
m (changed lay-out)
Line 3: Line 3:
This block will be run once when the scripted object is removed from the container's inventory. If no parameter is used, the block will be run whenever the object is removed from anything's inventory.
This block will be run once when the scripted object is removed from the container's inventory. If no parameter is used, the block will be run whenever the object is removed from anything's inventory.


==='''Syntax:'''===
''Syntax:'''
   begin OnDrop ''ContainerRefID''  
   begin OnDrop ''ContainerRefID''  
==='''Example:'''===
'''Example:'''
   begin OnDrop  
   begin OnDrop  
   begin OnDrop player  
   begin OnDrop player  
Line 18: Line 18:
:or if the player was in inventory mode when he dropped it - '''if MenuMode == 1002'''
:or if the player was in inventory mode when he dropped it - '''if MenuMode == 1002'''


==See Also==
===See Also===
[[OnAdd]]
* [[OnAdd]]


[[Category: Blocktypes]]
[[Category: Blocktypes]]
Anonymous user