Difference between revisions of "DropMe"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Zumbs (not spark ondrop and appearence) |
||
Line 5: | Line 5: | ||
==Notes== | ==Notes== | ||
*This function acts as a [[ | *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 [[ | *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. | |||
==See Also== | ==See Also== |
Revision as of 08:12, 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.