Talk:FindAllReferencesWithKeyword - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 02:57, 14 March 2018 by imported>Scrivener07
Jump to navigation Jump to search

Does not appear to catch items dropped by the player.--Twilight Sky (talk) 2016-08-20T15:57:11 (EDT)

Works as intended. I believe items dropped by the player, or items like mines are considered duplicates of the base object(FF IDs). In other words, temporarily objects. --Twilight Sky (talk) 2016-08-20T22:04:59 (EDT)

Using keyword formlists/arrays

I've tested this enough times to the point of driving me nuts. I have to wonder why the creator limits his functions in such a way. In any case.. if you use a formlist or an array(yes you can use arrays, and they are far faster than formlists), despite the example showing it will grab references that match ANY of the keywords, it actually doesn't. I'll use terminals for example because these are what I've been working with. Say you have a keyword list(in my case an array, and have tested with formlists too) that contains the following keywords.. AnimFurnDeskTerminal, AnimFurnDeskTerminalNoChair, AnimFurnDeskTerminalWithChair, AnimFurnWallTerminal and you are in a room with a Wall terminal and 2 desk terminals, this function will grab only the wall terminal. The two desk terminals contain both the AnimFurnDeskTerminal AND the AnimFurnDeskTerminalNoChair. It appears to me that this function can't grab references that have multiple keywords in the list attached to the same form. If you were to only use ONE keyword for the search, this would grab both desk terminals. Thus if you want to grab ALL terminals, you'd need to call this function for every keyword separately, which is both inefficient and rather silly. As always, maybe I missed something while gradually losing my sanity, but I've arrived to this conclusion in my tests --Rasikko (talk) 2018-03-14T03:57:02 (EDT)