Jump to content

Topics affecting Quest properties


SillyRobot

Recommended Posts

G'day Folks,

 

 

I think I'm missing something simple.

 

I've written Bethesda mods before (Oblivion, Fallout) and I'm comfortable with OO programming. I've been meaning to work with Skyrim for 6 months or so, but set it aside to handle some other projects.

 

My Companion radiant quests are broken so I decided to write a mod to effect repair. I figured it'd be a nice simple way to dip my toes in the water. The quest is listed as completed, but the Companions refuse to acknowledge it's done.

 

Digging around, I find the dialogues under Quest C00. Looking at the dialogues, there is a bool property I want to change (RadiantQuestFinished) and it exists in the script CompanionsHouskeepingScript. There may be other steps necessary to clean up properly, but this is a start.

 

I create a new Topic with my player choice of "I can't complete this job!" and set the conditions to only appear when a job has been accepted (RadiantQuestStarted) and not finished (RadiantQuestFinished) and I'm talking with a Companion Circle faction member. The dialogue works as intended.

 

Under Quest C00, I create a new quest reference alias pointing to the property RadiantQuestFinished in the script file CompanionshousekeepingScript.

 

In my Topic I create an empty papyrus fragment by inserting a comment to create a script.

 

I then attach a reference alias called RadiantQuestFinished to the fragment script. The script compiles cleanly.

 

I adjust the papyrus fragment to read RadiantQuestFinished = true.

 

It fails to compile with the error "type mismatch while assigning to a referencealias (cast missing or types unrelated)"

 

I try again using an alias type instead of a reference alias with the same result.

 

I'm obviously missing something. Any help?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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