Jump to content

How do I use quest dialogue's end Papyrus fragment section to chan


Infininja

Recommended Posts

I'm a novice scripter and I've been digging through a few of creationkit.com's scripting tutorials and adapting a Fallout 3 tutorial into Skyrim. I have something like this for a quest script:

 

Scriptname questScript extends Quest  Conditional

int property status auto conditional

bool doOnce

function StatusFunction(int currentStatus)
if doOnce == false
	status = 3
	doOnce = true
endif
endFunction

 

I've got proper dialogue set up now and some packages to tell an NPC what to do. The dialogue should set Status to whatever number depending on which dialogue option is selected. I know I need to enter something into the end papyrus fragment section for the NPC response, but I'm having trouble finding the right syntax. I browsed around the Creation Kit wiki a little more and tried to come up with something but I'm coming up empty. I tried something like

 

Scriptname NPCResponse extends TopicInfo

questScript Property ref auto

Event Dialogue()
ref.status = 1
EndEvent

 

but, while that compiles, I'm not sure it's anything real and I wasn't able to put anything into the end papyrus fragment text box for it. What should I be looking for?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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