Jump to content

Please help me I don't know why I can't set stage for this que


Pindrought

Recommended Posts

 

Okay so here's the deal. I have two different quests.

 

One of the quests is simply for dialogue. In this quest, the NPC will rotate between three possible rumors. I want one of the rumors for this NPC to set the stage for a different quest to 10.

 

Here's where my issue is.

 

I've set up a new Script for defining a quest property. In this case, the property is called "ChickenQuest"

 

I've edited the source of the property, and modified the code to this.

 

 

Scriptname HodChickenQuestRefScript extends Quest

Quest Property ChickenQuest Auto

ChickenQuest.SetStage(10)

 

 

 

I receive this error in the compiler

 

Starting 1 compile threads for 1 files...
Compiling "HodChickenQuestRefScript"...
C:\Program Files (x86)\The Elder Scrolls V Skyrim\Data\Scripts\Source\temp\HodChickenQuestRefScript.psc(5,12): no viable alternative at input '.'
No output generated for HodChickenQuestRefScript, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HodChickenQuestRefScript

 

Here's my 3 screenshots of how I have it set up

 

First is the outside of property window

second is property window selected

third is how I have the quest being referenced set up to show that there is a stage 10

 

 

http://imageshack.us/a/img402/3272/img01ru.jpg

 

http://imageshack.us/a/img11/2733/img02tv.jpg

 

http://imageshack.us/a/img442/6978/img03n.jpg

Edited by Pindrought
Link to comment
Share on other sites

What you're looking for is under Player Dialogue if you set it up like that. In papyrus script fragment section you're going to go under which Dialogue option you chose, put : GetOwningQuest().SetStage(10). There is no need to create a script because when you hit the compile button it will make one for you.

 

Your dialogue MUST be in the same quest that GetOwningQuest() is called for.

 

For a better understanding, GetOwningQuest() is like saying whatever quest owns this dialogue you forward the .SETSTAGE to (whatever).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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