Difference between revisions of "RemoveAllItems - ObjectReference"

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.)
imported>Kalevala
Line 32: Line 32:
== Notes ==
== Notes ==
*The calling object and akTransferTo must be loaded.  
*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.
*If akTransferTo is not loaded in memory, for example if not persisted and in an unloaded cell, the items will be deleted instead.


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