Difference between revisions of "DropMe"
Jump to navigation
Jump to search
imported>Zumbs (not spark ondrop and appearence) |
imported>Zumbs |
||
Line 8: | Line 8: | ||
*Unlike [[RemoveMe]], this function does not preserve the health, charges, or script variables of the item. | *Unlike [[RemoveMe]], this function does not preserve the health, charges, or script variables of the item. | ||
*This function does not spark the [[OnDrop]] block of the dropped item. | *This function does not spark the [[OnDrop]] block of the dropped item. | ||
*The dropped item will appear next to the container or the owner/merchant. If the item has no model information, scripts on it will stop running. | *The dropped item will appear next to the container or the owner/merchant. If the item has no model information, scripts on it will stop running, but the item will still be there to cause bloated savegames. | ||
==See Also== | ==See Also== |
Revision as of 09:40, 20 September 2009
Syntax:
DropMe
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.
- This function does not spark the OnDrop block of the dropped item.
- The dropped item will appear next to the container or the owner/merchant. If the item has no model information, scripts on it will stop running, but the item will still be there to cause bloated savegames.