RemoveMe
Jump to navigation
Jump to search
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).