Difference between revisions of "RemoveMe"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>Wz
Line 9: Line 9:
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).  
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).  


NOTE2: This function does not seem to show the "xxx has been removed." message.


==See Also==  
==See Also==  

Revision as of 13:15, 10 July 2006

Syntax:

RemoveMe TargetContainerID (optional) 

Example:

RemoveMe 
RemoveMe player 

Removes the calling object from the inventory of the container that it is in (if applicable). If TargetContainerID is specified, the object is moved to the target container.

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).

NOTE2: This function does not seem to show the "xxx has been removed." message.

See Also

DropMe