Difference between revisions of "Talk:RemoveItem - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Kalevala
imported>Qazaaq
 
Line 1: Line 1:
This function seems to not respect base objects of the same type in the player inventory. [https://community.bethesda.net/message/177672#177672 Source]--[[User:Twilight Sky|Twilight Sky]] ([[User talk:Twilight Sky|talk]]) 2016-09-24T02:00:26 (EDT)
This function seems to not respect base objects of the same type in the player inventory. [https://community.bethesda.net/message/177672#177672 Source]--[[User:Twilight Sky|Twilight Sky]] ([[User talk: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.--[[User:Twilight Sky|Twilight Sky]] ([[User talk:Twilight Sky|talk]]) 2016-09-24T04:56:02 (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.--[[User:Twilight Sky|Twilight Sky]] ([[User talk:Twilight Sky|talk]]) 2016-09-24T04:56:02 (EDT)
:: The problem lies entirely with this function. The note on OnItemAdded will be removed accordingly.--[[User:Twilight Sky|Twilight Sky]] ([[User talk:Twilight Sky|talk]]) 2016-09-25T08:18:17 (EDT)
::The problem lies entirely with this function. The note on OnItemAdded will be removed accordingly.--[[User:Twilight Sky|Twilight Sky]] ([[User talk: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. [[User:Kinggath|Kinggath]] ([[User talk:Kinggath|talk]]) 2018-01-23T14:15:26 (CST)
 
::::Thanks for the correction [[User:Kinggath|Kinggath]]. [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2018-01-23T17:34:00 (EST)
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. [[User:Kinggath|Kinggath]] ([[User talk:Kinggath|talk]]) 2018-01-23T14:15:26 (CST)

Latest revision as of 18:34, 23 January 2018

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. Kinggath (talk) 2018-01-23T14:15:26 (CST)
Thanks for the correction Kinggath. Scrivener07 (talk) 2018-01-23T17:34:00 (EST)