Smirkyguy Posted May 13, 2020 Share Posted May 13, 2020 (edited) trying to figure out a way to, after a dialogue ends, run a papyrus script that enables a quest named "KoahniRestoration"something simple i can copy paste into the dialogue end box. Edited May 13, 2020 by Smirkyguy Link to comment Share on other sites More sharing options...
Smirkyguy Posted May 14, 2020 Author Share Posted May 14, 2020 still need help with this unfortunately... googling it has turned up nothing helpful Link to comment Share on other sites More sharing options...
ReDragon2013 Posted May 14, 2020 Share Posted May 14, 2020 (edited) Hmm.. did you ever seen this https://www.creationkit.com/index.php?title=Bethesda_Tutorial_Dialogue please have a look at headline "Scripting Dialogue"normally a dialogue script fragment looks as follow ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 1 Scriptname TIF__000946F0 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(135) ; GetOwningQuest() means that the quest we care about is the one that contains this dialogue. ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment yours could be as follow ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 1 Scriptname TIF__000946F0 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE IF myQuest.IsRunning() ; quest is already running ELSE myQuest.Start() ; to start a quest which not owned this dialogue ;;; myQuest.SetStage(1) ; to start the quest and set a special stage here 1 ENDIF ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Quest PROPERTY myQuest auto ; do not forget to fill this with your quest "KoahniRestoration" Edited May 14, 2020 by ReDragon2013 Link to comment Share on other sites More sharing options...
Smirkyguy Posted May 14, 2020 Author Share Posted May 14, 2020 solved. went a different route instead, since this was not working at all. Link to comment Share on other sites More sharing options...
Smirkyguy Posted May 14, 2020 Author Share Posted May 14, 2020 coming back to this. i suspect the script i want is "kmyquest.koahnirestoration.SetActive()", but it throws a ton of errors on compile... Link to comment Share on other sites More sharing options...
Smirkyguy Posted May 14, 2020 Author Share Posted May 14, 2020 FINALLY SOLVED! was missing a property entry Link to comment Share on other sites More sharing options...
Recommended Posts