Jump to content

Followers won't go to custom settlement (Sometimes)


Zorkaz

Recommended Posts

I made around 50 settlements before but this time I face an odd issue

 

The problem:

In some saves (of different characters) companions will travel to the settlement in others they won't and go to the previous one

The setowned trigger names some random location (in some saves)

 

 

Settlement info

-Indoor settlement with everything setup (Newly created)

-Location and encounter zone with proper keywords

-Quest done as usual

-In every save the settlement has 50% happiness and companions will say that they will go to the settlement (Eg. Danse is going to "Andrew KG")

 

 

 

So what might be wrong, since the settlement is properly recognized and works in most saves but not in some.... Has anyone encountered this oddity?

Link to comment
Share on other sites

It is probably an AI package pathing issue.

 

Dismissed companions should run AI package 00038C0E WorkshopSandboxDefault which targets LinkedRef WorkshopLinkHome. Typically that links to either WorkshopLinkSandbox or WorkshopLinkCenter.

 

Here is a standalone script you can save, compile and then run from the console then to see what they are targeting in the script debug log.

ScriptName SKK_Global
;console:  cgf "SKK_Global.GetActorInfo" 00000000

Function GetActorInfo(ObjectReference ThisREF) Global 
Keyword pWorkshopLinkHome = Game.GetFormFromFile(0x0002058f, "Fallout4.esm") as Keyword
Keyword pWorkshopItemKeyword = Game.GetFormFromFile(0x00054ba6, "Fallout4.esm") as Keyword
Keyword pWorkshopLinkSandbox = Game.GetFormFromFile(0x0022b5a7, "Fallout4.esm") as Keyword
Keyword pWorkshopLinkCenter = Game.GetFormFromFile(0x00038c0b, "Fallout4.esm") as Keyword
If (ThisREF != None)
   Debug.Trace("SKK_Global.GetActorInfo, " + ThisActor )
   Debug.Trace("SKK_Global.GetActorInfo WorkshopID, " + (ThisActor as WorkshopNPCScript).GetWorkshopID() )
   Debug.Trace("SKK_Global.GetActorInfo CurrentPackage, " + ThisActor.GetCurrentPackage() )
   Debug.Trace("SKK_Global.GetActorInfo WorkshopLinkHome, " + ThisActor.GetLinkedRef(pWorkshopLinkHome) )
   Debug.Trace("SKK_Global.GetActorInfo WorkshopItemKeyword, " + ThisActor.GetLinkedRef(pWorkshopItemKeyword) )   
   Debug.Trace("SKK_Global.GetActorInfo WorkshopLinkSandbox, " + ThisActor.GetLinkedRef(pWorkshopItemKeyword).GetLinkedRef(pWorkshopLinkSandbox) )
   Debug.Trace("SKK_Global.GetActorInfo WorkshopLinkCenter, " + ThisActor.GetLinkedRef(pWorkshopItemKeyword).GetLinkedRef(pWorkshopLinkCenter) )
EndIf
EndFunction

[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo [CodsworthReferenceScript < (0001CA7D)>]

[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo WorkshopID ,21
[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo CurrentPackage ,[Package < (00038C0E)>]
[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo WorkshopLinkHome ,[ObjectReference < (0022B5A9)>]
[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo WorkshopItemKeyword ,[workshopscript < (000250FE)>]
[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo WorkshopLinkSandbox ,[ObjectReference < (0022B5A9)>]
[02/12/2020 - 09:08:27PM] SKK_Global.GetActorInfo WorkshopLinkCenter ,[ObjectReference < (0004BE7A)>]
Link to comment
Share on other sites

  • Recently Browsing   0 members

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