Difference between revisions of "RemoveAllItems - ObjectReference"

imported>RobinHood70
(Undo revision 28038 by Cwalton (talk))
 
imported>Illyism
 
(2 intermediate revisions by 2 users not shown)
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 not loaded in memory, for example if not persisted and in an unloaded cell, the items will be deleted instead.
*If (akTransferTo = None) is specified, the container will silently clear/empty/remove all contents.


== See Also ==
== See Also ==
Anonymous user