Jump to content

How to Add Keyword to Location


Plarux

Recommended Posts

Hello,

 

The title says it all.

 

I know how to go into the specific location in the object window and add a keyword, but that's not what I'm interested in.

How do you add a keyword via quest aliases or a script?

 

Thank You,

Plarux

Link to comment
Share on other sites

In the base game scripting one can NOT add keywords to Locations as there is no Location script function for it. SetKeywordData does not do the job.

 

Example: I put many hours into writing a "convert any standalone player home workshop (or f***ed up workshop mod) into a full WorkshopParentScript registered settlement" fully automated and error checked script, and the one thing that stopped me was simply not being able to;

 

ThisLocation.AddKeyword(pLocTypeWorkshop)           ; which many radiant quests and SKK quest fills depend on 
ThisLocation.AddKeyword(pLocTypeWorkshopSettlement) ; which WorkshopParentScript.ResetWorkshop depends on

Someone please prove me wrong.

Link to comment
Share on other sites

 

In the base game scripting one can NOT add keywords to Locations as there is no Location script function for it. SetKeywordData does not do the job.

 

Example: I put many hours into writing a "convert any standalone player home workshop (or f***ed up workshop mod) into a full WorkshopParentScript registered settlement" fully automated and error checked script, and the one thing that stopped me was simply not being able to;

 

ThisLocation.AddKeyword(pLocTypeWorkshop)           ; which many radiant quests and SKK quest fills depend on 
ThisLocation.AddKeyword(pLocTypeWorkshopSettlement) ; which WorkshopParentScript.WorkshopReset depends on

Someone please prove me wrong.

 

 

SKK50, I was hoping you weren't going to say that :/

Link to comment
Share on other sites

  • Recently Browsing   0 members

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