Difference between revisions of "RemoveAllItems - ObjectReference"
RemoveAllItems - ObjectReference (edit)
Revision as of 08:16, 25 September 2016
, 08:16, 25 September 2016→Examples: Notes about calling this on objects that aren't loaded, and the function deleted all items if akTransferTo is in a different cell.
imported>RobinHood70 |
imported>Goggle m (→Examples: Notes about calling this on objects that aren't loaded, and the function deleted all items if akTransferTo is in a different cell.) |
||
Line 29: | Line 29: | ||
Game.GetPlayer().RemoveAllItems(abKeepOwnership = true) | Game.GetPlayer().RemoveAllItems(abKeepOwnership = true) | ||
</source> | </source> | ||
== Notes == | |||
*The calling object and akTransferTo must be loaded. | |||
*If akTransferTo is in a different cell from the calling object, this function will still remove all items, but they are not transferred to the new container. They will be deleted instead. | |||
== See Also == | == See Also == |