Difference between revisions of "DropMe"

333 bytes added ,  11:22, 12 January 2011
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Ez0n3
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Syntax:'''
{{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 [[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).  
*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.
*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]]<BR>
*[[Drop]]
[[RemoveMe]]  
*[[RemoveMe]]  


[[Category:Functions]]
[[Category:Functions]]
Anonymous user