Difference between revisions of "DropMe"
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. | ||
==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== |