Difference between revisions of "DropMe"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
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.  


NOTE: 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).  
==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==  

Revision as of 19:16, 3 January 2007

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.

See Also

RemoveMe