DukePatrick Posted July 12, 2017 Share Posted July 12, 2017 Will the following remove only ONE item or one of EACH item in the form list that the player has on them: Playerref.removeitem(ComponetFormList, 1) I assumed ONE when I wrote my script but now I am worried. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted July 13, 2017 Share Posted July 13, 2017 It will remove single piece of every item containing at least one of that component. Link to comment Share on other sites More sharing options...
wim95 Posted July 13, 2017 Share Posted July 13, 2017 Copy/Past from ObjectReference.psc ; Removes the specified item from this object reference's inventory Function RemoveItem(Form akItemToRemove, int aiCount = 1, bool abSilent = false, ObjectReference akOtherContainer = None) native ; Removes the specified count of component from the container, scrapping items, and returning the remainder to said container Function RemoveComponents(Component akComponent, int aiCount, bool abSilent = false) native ; Removes items from this object reference's inventory containing up to aiCount components Function RemoveItemByComponent(Form akComponentToRemove, int aiCount = 1, bool abSilent = false, ObjectReference akOtherContainer = None) native Link to comment Share on other sites More sharing options...
DukePatrick Posted July 16, 2017 Author Share Posted July 16, 2017 Thank you so very much for you help. Link to comment Share on other sites More sharing options...
Recommended Posts