Difference between revisions of "DropMe"

113 bytes added ,  20:16, 3 January 2007
creates a new object (vars not preserved)
 
imported>Scruggs
(creates a new object (vars not preserved))
Line 4: Line 4:
Drops the calling item from its container. If it is not currently in a container, the function will have no effect.  
Drops the calling item from its container. If it is not currently in a container, the function will have no effect.  


NOTE: this function acts as a [[return]] when called -- the lines of script following it will NOT be executed (since it has just destroyed itself in the process of removing itself from inventory).  
==Notes==
*This function acts as a [[return]] when called -- the lines of script following it will NOT be executed (since it has just destroyed itself in the process of removing itself from inventory).
*Unlike [[removeMe]], this function does not preserve the health, charges, or script variables of the item.


==See Also==  
==See Also==  
Anonymous user