niston Posted May 13, 2023 Share Posted May 13, 2023 I have a RefColAlias on a quest, with Alias Package Data set.Actors are added to this RefColAlias by script. It used to work, now -and suddenly- it doesn't.The issue is that the package from Alias Package Data does not apply anymore.Calling EvaluatePackage(false), followed by a call to GetCurrentPackage() reveals the Actors are still running some workshop sandbox package instead (same as before adding to refcolalias). Essentially, adding them to the RefColAlias has no effect anymore whatsoever re the AI package. Neither the alias nor the package have conditions.The NPCs in fact do get added to the alias, I have verified the count. I tried adjusting quest priority from 43 to 1 and to 99, with no observable effect. Quite at a loss here.Any insight? Link to comment Share on other sites More sharing options...
LarannKiar Posted May 14, 2023 Share Posted May 14, 2023 (edited) Never seen that to happen.. Do they have any ApplyToRef packages? Though with a priority of 99 they probably can't interfere. They have the vanilla workshop sandbox package or a mod added one? Can it be fixed by RefCollHolderQuest.Reset()? If it can, it's a broken quest instance data.. actually, I'm testing a quest mod right now and one of the quest objectives is still tracking the actor that was filled into the objective's target reference alias even though the alias has already been cleared so it's currently 'NONE'... if I ForceRefTo another actor into that alias, the quest tracks them instead, and when I clear it, the quest reverts back to track the actor that was previously filled into it.. (This can be solved by calling SetObjectiveDisplayed(ObjIndex, False) before TrackedRefAlias.Clear() or by adding a condition to the objective anyway). And just out of curiosity.. are the NPCs in a crowded area? Like 40+ actors? Edited May 14, 2023 by LarannKiar Link to comment Share on other sites More sharing options...
niston Posted May 15, 2023 Author Share Posted May 15, 2023 Thanks for your message LarannKiar. I was able to fix the problem in the mean time. The issue was that the Time for the package was set to "0 - 1" instead of "any".I must have either changed this by accident at some point, or my earlier (successful) tests were always between 12:00 and 01:00. Area in question currently has 52 NPCs btw. Steps used for debugging: 1) Console command "sv" on NPC, to list quest aliases the NPC is in.2) Console command "sqv" to check priority of quests listed in 1).--> Confirm that NPC is added to my quest alias and that no other quest overrides, priority wise. 3) List relevant packages in "Package" section of Object Window--> Verify "Time", "Day of Week", "Month", "Date" all are set to "Any" and "Duration" is set to "None". Link to comment Share on other sites More sharing options...
Recommended Posts