Difference between revisions of "DropMe"
no edit summary
imported>PoHa! (copied info; removed incomplete tag) |
imported>Ez0n3 |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | |||
DropMe | |CSWikiPage = DropMe | ||
|origin = GECK1 | |||
Drops the calling item from its container. If it is not currently in a container, the function will have no effect. | |summary = Drops the calling item from its container. If it is not currently in a container, the function will have no effect. | ||
|name = DropMe | |||
}} | |||
==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, but the item will still be there to cause bloated savegames. | |||
==See Also== | ==See Also== | ||
[[Drop]] | *[[Drop]] | ||
[[RemoveMe]] | *[[RemoveMe]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Object Functions]] | [[Category:Object Functions]] | ||
[[Category:Object Functions (GECK 1.1)]] |