OnAdd
Revision as of 19:32, 31 January 2006 by imported>Ecaponi
Syntax:
begin OnAdd ContainerRefID (optional)
Example:
begin OnAdd begin OnAdd player
This block will be run once when the scripted object is added to the Container's inventory. If no parameter is used, the block will be run whenever the object is added to anything's inventory.