Grouchy123 Posted September 10, 2020 Share Posted September 10, 2020 I stumbled into a problem regarding the "AddKeyword" object reference function. https://www.creationkit.com/fallout4/index.php?title=AddKeyword_-_ObjectReference The creation kit website says that this is the function to add keywords to objects (via papyrus script). However, when I tried to use it myself, the compiler gave me this message. C:\Users\addam\AppData\Local\Temp\PapyrusTemp\LegendaryVendorScript.psc(92,22): AddKeyword is not a function or does not exist Any fixes? Link to comment Share on other sites More sharing options...
dylbill Posted September 11, 2020 Share Posted September 11, 2020 Can you post your script? It has to be run on an object reference. If you got that error you probably tried to run it on a base object or something else, just guessing. Link to comment Share on other sites More sharing options...
SKKmods Posted September 11, 2020 Share Posted September 11, 2020 Yes that error message is generated when you try to call a function on an object that doesn't support that function. The fix is to git gud at scripting, or post your script. Link to comment Share on other sites More sharing options...
Recommended Posts