Jump to content

Trying to Fill Aliases via Resetting Quest


Caerulean

Recommended Posts

I have 3 quests: 1 - Dialogue Quest; 2 - Aliases Quest; and 3 - Aliases Quest Resetter.

 

Dialogue Quest (DQ) has aliases that are intended to be refilled every now and then (via AQ and AQR). DQ intends to use these aliases for certain dialogue conditions and for two '[follower] is waiting' objectives.

 

Aliases Quest (AQ) intends to fill its own aliases and then forcing their refs onto the matching DQ's aliases using a stage script ('forcerefto'). AQ is not 'Start Game Enabled' and is started and reset by AQR via scripting.

 

Aliases Quest Resetter (AQR) simply intends to reset AQ through its stages' scripts ('reset', 'stop', 'start'). It also resets itself (without the 'stop' function). AQR is 'Start Game Enabled'. *Reset timer is currently at 30 seconds.

 

My problem is that the aliases won't seem to get filled in-game.

 

I test this by telling my followers to wait. Both followers have Unique Actor - Reference Aliases assigned to them (as they are, well, both unique actors). The '[follower] is waiting for you.' miscellaneous objectives show up in-game, however, their names appear as '[...]' and no markers are pointing at them, leading me to believe that the aliases aren't filled. In DQ's objectives, the texts are written in the following format: "[Alias=FollowerName] is waiting for you." and the

 

AQR can reset itself indefinitely - proven by its debug notifications appearing in-game. The script properties are also appropriately filled in the Creation Kit, and all the scripts compiled successfully.

 

Scripts below:

 

 

Script in AQ stage 0:

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 2
Scriptname QF_AuroranAliasesQuest_02102A97 Extends Quest Hidden
;BEGIN ALIAS PROPERTY SybilleStentor
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SybilleStentor Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Thalmor
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Thalmor Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY GeneralTullius
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_GeneralTullius Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Ulfric
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Ulfric Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY TRAP
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_TRAP Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY ImpressiveView
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_ImpressiveView Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Vampire
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Vampire Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY JareeRa
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_JareeRa Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Seth
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Seth Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Beggar
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Beggar Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Bard
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Bard Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Enemy
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Enemy Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Mjoll
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Mjoll Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY busy
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_busy Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY SavosAren
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_SavosAren Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Equinox
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Equinox Auto
;END ALIAS PROPERTY
;BEGIN ALIAS PROPERTY Roggvir
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Roggvir Auto
;END ALIAS PROPERTY
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
utility.wait(5)
Bard = Alias_Bard.GetReference()
_Alias_Bard.ForceRefTo(Bard)
Beggar = Alias_Beggar.GetReference()
_Alias_Beggar.ForceRefTo(Beggar)
Busy = Alias_Busy.GetReference()
_Alias_Busy.ForceRefTo(Busy)
GeneralTullius = Alias_GeneralTullius.GetReference()
_Alias_GeneralTullius.ForceRefTo(GeneralTullius)
ImpressiveView = Alias_ImpressiveView.GetReference()
_Alias_ImpressiveView.ForceRefTo(ImpressiveView)
JareeRa = Alias_JareeRa.GetReference()
_Alias_JareeRa.ForceRefTo(JareeRa)
Mjoll = Alias_Mjoll.GetReference()
_Alias_Mjoll.ForceRefTo(Mjoll)
Roggvir = Alias_Roggvir.GetReference()
_Alias_Roggvir.ForceRefTo(Roggvir)
SavosAren = Alias_SavosAren.GetReference()
_Alias_SavosAren.ForceRefTo(SavosAren)
SybilleStentor = Alias_SybilleStentor.GetReference()
_Alias_SybilleStentor.ForceRefTo(SybilleStentor)
Thalmor = Alias_Thalmor.GetReference()
_Alias_Thalmor.ForceRefTo(Thalmor)
Equinox = Alias_Equinox.GetReference()
_Alias_Equinox.ForceRefTo(Equinox)
Seth = Alias_Seth.GetReference()
_Alias_Seth.ForceRefTo(Seth)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
ObjectReference Bard
ObjectReference Beggar
ObjectReference Busy
ObjectReference GeneralTullius
ObjectReference ImpressiveView
ObjectReference JareeRa
ObjectReference Mjoll
ObjectReference Roggvir
ObjectReference SavosAren
ObjectReference SybilleStentor
ObjectReference Thalmor
ObjectReference Trap
ObjectReference Ulfric
ObjectReference Vampire
ObjectReference Equinox
ObjectReference Seth
ReferenceAlias Property _Alias_Bard auto
ReferenceAlias Property _Alias_Beggar auto
ReferenceAlias Property _Alias_Busy auto
ReferenceAlias Property _Alias_GeneralTullius auto
ReferenceAlias Property _Alias_ImpressiveView auto
ReferenceAlias Property _Alias_JareeRa auto
ReferenceAlias Property _Alias_Mjoll auto
ReferenceAlias Property _Alias_Roggvir auto
ReferenceAlias Property _Alias_SavosAren auto
ReferenceAlias Property _Alias_SybilleStentor auto
ReferenceAlias Property _Alias_Thalmor auto
ReferenceAlias Property _Alias_Trap auto
ReferenceAlias Property _Alias_Ulfric auto
ReferenceAlias Property _Alias_Vampire auto
ReferenceAlias Property _Alias_Equinox auto
ReferenceAlias Property _Alias_Seth auto

 

Script in AQR stages 0 and 1:

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment

;NEXT FRAGMENT INDEX 4
Scriptname QF_AuroranAliasesResetterQue_021152E3 Extends Quest Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
Debug.Notification("Aliases Resetter Quest is in stage 0")
utility.wait(30)
self.setstage(1)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
Debug.Notification("Aliases Resetter Quest is in stage 1")
AuroranAliasesQuest.reset()
AuroranAliasesQuest.stop()
AuroranAliasesQuest.start()
AuroranAliasesQuest.setstage(0)
self.reset()
self.start()
self.setstage(0)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Quest Property AuroranAliasesQuest auto

 

 

 

Thanks for any help. :smile:

 

Scripting and aliases are still relatively new to me, especially aliases.

Link to comment
Share on other sites

Reset() already starts the quest, so there's no point in calling start after it.

 

There's little documentation on reset() so it's hard to say what it actually does under the hood, but I think it's better to call stop() and then start() for the purpose of refilling aliases.

Link to comment
Share on other sites

  • 2 weeks later...

Reset() already starts the quest, so there's no point in calling start after it.

 

There's little documentation on reset() so it's hard to say what it actually does under the hood, but I think it's better to call stop() and then start() for the purpose of refilling aliases.

 

*Hey, thanks for the reply. And sorry that I saw this only now. I didn't get notified here for some reason. x_x Good thing I checked my e-mail. lol

 

I guess I'll just leave it alone for now 'cause reset-stop-start is working (and I'm feeling lazy :3). I've also made some progress and recently discovered the 'sqv' console command so I can check my quests to see if aliases are filling or not. They are, apparently. I also created a separate aliases quest for the (DQ) followers 'cause I thought that getting their aliases refilled intermittently is a bad idea since I added quest markers for them when they are waiting for the player. *shrug*

 

The problem now is that text replacement (i.e. <Alias=aliasname>) won't work. The markers are properly pointing to the followers but their names show up as '[...]' in the objectives. @_@ I already tried various combinations with the Stores Text and Uses Stored Text flags in both DQ and the Follower Aliases Quest (FAQ, lol) but I've had no success. The aliases are also properly assigned to each objective. I guess text replacement with forced alias refs is impossible? I can just type the followers' names themselves in the objectives if it is indeed impossible.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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