Jump to content

Finding the local Workshop "cloud storage" from a constructed terminal in the settlement


Recommended Posts

I have this -

Event OnActivate(ObjectReference akActionRef)
  ObjectReference term = (MyTerminal as ReferenceAlias).getReference()
  ObjectReference localContainer = GetLinkedRef(WorkshopParent.WorkshopLinkContainer)
  MyQuest.setStage(30)
EndEvent

When the terminal is accessed, the stage does get set to 30. However with debug notifications on, localContainer is NONE. I'm doin' it wrong, but I'm not sure if I'm using the wrong function, or if it's in the wrong place.

 

This Event is in the terminal script, and otherwise seems to function correctly. MyTerminal is declared a reference, it's in the associated Quest as an alias, and it fills correctly here and elsewhere; I seem to be detecting and getting the terminal 3d correctly, but I don't think I'm telling it to look for the local workshop's linked containers correctly.

 

Any advice appreciated. I'd thought since the terminal is a co_, its parent would be the local workshop - no?

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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