Jump to content

Quest Alias & ForceRefTo


H3X1C

Recommended Posts

EDIT: Solved issue, see comments

 

I have some questions about Quest Alias

 

What I have done so Far/Want to achieve

-I have a quest that currently doesn't run on startup and is started via papyrus .start().

 

-I want to track on the map a quest item

 

-The item currently is spawned in via papyrus placeatme so I used ForceRefTo to force the alias on my quest

 

-In the script properties my reference to the quest alias is down as a ReferenceAlias Const (Not sure if this is right??)

 

-My quest alias is set to specific reference with nothing selected so Forced: NONE (Not sure this is right??)

 

-My quest objective is set to TargetAlias: PlayerNote , Conditions: GetIsAliasRef and then Alias:PlayerNote == 1 (Not sure this is right??)

 

-I had to set this alias to optional because the quest wouldn't start because the alias wasn't being filled yet I place and set the reference before I call the start quest start??

 

-My code to spawn the item and start the quest looks like this below, and runs and places the item in game but doesn't track it

 

PlayerNoteAlias.ForceRefTo(Game.GetPlayer().PlaceAtMe(MyQuestPlayerNote))

MyQuest.Start()

 

I can't get it to work? Any ideas/correcting me would be massively appreciated :smile:

 

Sorry for being a total noob this is my first quest mod, I tried the scripting reference and general googling looking at both previous skyrim stuff and fallout 4 and still can't figure it out

Edited by H3X1C
Link to comment
Share on other sites

Problem Solved!! - Leaving post here in case others have same issue

 

MyQuest.Start()

PlayerNoteAlias.ForceRefTo(Game.GetPlayer().PlaceAtMe(MyQuestPlayerNote))

MyQuest.SetStage(10)

Wrong order, silly mistake haha

Link to comment
Share on other sites

  • 5 months later...
  • Recently Browsing   0 members

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