Jump to content

Can you remove a linked ref via script


palingard

Recommended Posts

I was trying to create a following mechanism without resorting to questaliases, so that it would work for any matching actors. I thought I had the answer with LinkedRef. You can set a SingleRef target to a linkedref (with a given keyword) in the follow procedure. The problem is that as far as I can see, there is no way to set a linkedref at runtime. I thought I had found it with the setlinkedref() function, but that was in the fallout4 portion of the wiki, not the skyrim side. That function doesn't exist in the SKSE version used with Skyrim.

 

I ended up using the Quest reference aliases and worked out a way to accomplish what I wanted, if for a finite number of actors. If you can think of another (relatively) infinite mechanism I use that I can set at runtime to define the follow target, let me know. To work best, I am thinking of some value or setting that is specific to each Actor that I can populate and then set that value as the target for the follow package, but I couldn't find one on my own.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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