Still can't get this to work: Quest advancement

Post » Mon Jun 18, 2012 6:51 am

Ok, to bring folks up to speed in the hope someone can tell me what I am overlooking I have summarised this in to a concise version of what I was messing around with on Thursday.
  • I am creating a fairly large mod with several quests which called DPSS
  • I am currently writing the first quest to get a handle on the scripting changes made, this is quest DPSS11. The quest is active at the start of the game and starts in stage 0. So far so good.
The thing is, I want to put everything the player can get involved in active from stage 5 onwards because I only want the player to start getting involved after hearing a particular topic of conversation.

So, I have attached a script to my quest so I can adjust it with various events which are not part of the quest. The script I have attached is this one;


Scriptname DPSS11Script extends Quest  Quest Property DPSS11Property Auto

No, so far its pretty small but it should allow me to call DPSS11Property and use that elsewhere in the game to control this quest, or so I understand. I have gone into the scripts tab on my quest and made sure that I have set "DPSS11Property" to refer to point at quest DPSS11.

Next, I moved on to the topic of conversation that I want to trigger the advancement of my quest from stage 0 to stage 5, its a greeting you receive from an NPC in Whiterun so I found the topic in the creation kit and am trying to write the script in the window at the bottom of the screen.

Now I have tried a few things here and am currently using;

(GetOwningQuest() As DPSS11Script).SetStage(5)

But no matter what I try when I have the conversation with my NPC the quest stage does no advance. It compiles fine with no errors but does nothing.

I have also tried this;

DPSS11Property  SetStage 5

But that doesn't compile, I get the following error.

Starting 1 compile threads for 1 files...Compiling "TIF__000E14E1"...c:\games\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__000E14E1.psc(9,25): required (...)+ loop did not match anything at input '5'No output generated for TIF__000E14E1, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__000E14E1

Can someone please tell me what I am messing up?
User avatar
Jack Bryan
 
Posts: 3449
Joined: Wed May 16, 2007 2:31 am

Post » Mon Jun 18, 2012 6:05 am

Anyone got any suggestions here? Moving a quest stage forward when someone says something shouldn't be this frustrating.
User avatar
FirDaus LOVe farhana
 
Posts: 3369
Joined: Thu Sep 13, 2007 3:42 am


Return to V - Skyrim