Jump to content

Recommended Posts

Posted

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?
Posted

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.

Posted
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.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...