Talk:RemoveItem - ObjectReference

Revision as of 16:15, 23 January 2018 by imported>Kalevala

This function seems to not respect base objects of the same type in the player inventory. Source--Twilight Sky (talk) 2016-09-24T02:00:26 (EDT)

I had observed such behavior when using OnItemAdded - ObjectReference and though it was the event's baseobject parameter doing this, but I will leave the note there until I'm certain that issue lies with RemoveItem.--Twilight Sky (talk) 2016-09-24T04:56:02 (EDT)
The problem lies entirely with this function. The note on OnItemAdded will be removed accordingly.--Twilight Sky (talk) 2016-09-25T08:18:17 (EDT)

Removed this note as it is not relevant and is inaccurate: "*The function accepts a form object, however you can't make a property to a form object, you need to create a property to another type of object that extends form. Most often a MiscObject, or Weapon, etc.". While you can't define a property of type Form in the Creation Kit, you can do so manually in the script.

Return to "RemoveItem - ObjectReference" page.