Difference between revisions of "RemoveItem - ObjectReference"
Jump to navigation
Jump to search
→Notes: Added note that items that have only existed in containers will not work.
imported>DavidJCobb (→Parameters: elaborated on form type handling) |
imported>B1gBadDaddy (→Notes: Added note that items that have only existed in containers will not work.) |
||
Line 69: | Line 69: | ||
***Use the [[OnItemAdded - ObjectReference]] event on the second container to obtain the incoming items | ***Use the [[OnItemAdded - ObjectReference]] event on the second container to obtain the incoming items | ||
***Finally use [[RemoveItem - ObjectReference]] to send all but the unwanted item(s) back to the first container | ***Finally use [[RemoveItem - ObjectReference]] to send all but the unwanted item(s) back to the first container | ||
*The function does not work on object references that have only existed inside containers. | |||
== See Also == | == See Also == |