Difference between revisions of "OnAdd"

Jump to navigation Jump to search
97 bytes added ,  10:36, 8 June 2007
Added save/load info to remote cell onAdd
imported>JOG
(Moved to "Category: Blocktypes")
imported>Haama
(Added save/load info to remote cell onAdd)
Line 7: Line 7:
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.  
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.  


When the target container isn't in the current cell (or within the 5x5 exterior-cell square), the OnAdd block doesn't run until you enter the cell with the container.
When the target container isn't in the current cell (or within the 5x5 exterior-cell square), the OnAdd block doesn't run until you enter the cell with the container. However, the onAdd block won't run if you've saved and reloaded before entering the remote cell.


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

Navigation menu