Jump to content

Saying 'Hi' and ... at what times are RefCollectionAliases filled?


Recommended Posts

Hey modders group!

 

Just saying 'Hi' mostly and hope you're all staying well. I'm still doing some mod work.

 

I did wonder if someone knew the exact times when RefCollectionAliases of a Quest with various conditions are filled? Is it just when the Quest starts? I couldn't find the line in the CK that indicates the exact times.

 

Thanks and TTYL.

Link to comment
Share on other sites

If you attach a Debug.Trace() script to the quest you can test aliases to see that conditional fills are made after Start() between event OnInit() and event OnQuestInit(). Infact you can get granular and attach a script to the alias and DebugTrace() event OnAliasInit.

 

Be aware that conditional fills can only find ObjectReferences that are PERSISTENT or loaded in the active uGrids. Many placed ObjectReferences in ESM files are non persistent to save memory so wont be found. Which gets frustrating.

Link to comment
Share on other sites

Thanks SKK50! Glad to see your reply. I was hoping that it refreshed at some point after the quest was initialized, but I had not been seeing that. Stopping and starting the quest I would assume would again perform the OnInit() OnQuestInit() sequence and refresh them though. I can test that.

Link to comment
Share on other sites

Yes alias fills only happen at quest start.

 

If your using them to find non persistent object references around the world then you need a start game enabled controller quest that starts and stops a child finder/alias fill quest on movement events. Or a timer if your in the cheaper seats :wink:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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