Understanding "Get me x amount of y" quests (variabl

Post » Sun Jun 24, 2012 3:15 am

Hey guys. As you know I'm creating quests for my hunting mod, and some will involve getting a certain amount of pelts etc for people.

I know I can make a quest, and have Stage 1 say something like "Get 10 wolf pelts", and have the condition set to

GetItemCount WolfPelts >= 10

That should work to complete the quest. My question is, when would I need to use variables? The quests in Skyrim like this, that have variables, (as far as I've seen) seem like just ones that need a count in the quest log. Like:

"5/10 Wolf Pelts collected"

Is this the case though? Should a variable always be used? Or should that quest completion condition mentioned above be enough?
User avatar
Tai Scott
 
Posts: 3446
Joined: Sat Jan 20, 2007 6:58 pm

Post » Sun Jun 24, 2012 5:11 am

Ok guys I need a little help if you don't mind :smile: I have my test room, quest book on the floor, and the floor is littered with wolf pelts.

I have my quest. It starts when I read a book (this works great with the OnRead()). The objective (Stage 10) is "Get 3 wolf pelts". Stage 20 is "Got 3 wolf pelts, take them back to the book" (just a test thing for now, this isn't important). I have a target ref which is the book for stage 20, with the condition that the player has >= 3 wolf pelts. I have the following script in Stage 20 as I should:

SetObjectiveCompleted(10)SetObjectiveDisplayed(20)

Now I can't for the life of me get the actual objective in the Journal to change to 20. Nothing happens.

What I can do, is on the Quest Objectives screen, if I have the book as the target ref for Stage 10 instead of 20, with the condition that the player has >= 3 wolf pelts... When the player has 3, the target goes to the book, which is great, but the actual objective doesn't change from "Get 3 wolf pelts"

I've tried setting the Stage 20 condition that the player has >= 3 wolf pelts, but it doesn't make a difference. As there aren't any tutorials on exactly what I'm trying to do it's difficult to know if I'm missing something simple somewhere.

Can anybody show me the light please? :smile:
User avatar
asako
 
Posts: 3296
Joined: Wed Oct 04, 2006 7:16 am

Post » Sun Jun 24, 2012 3:41 pm

Anyone? Really could use a nudge in the right direction :)
User avatar
joannARRGH
 
Posts: 3431
Joined: Mon Mar 05, 2007 6:09 am


Return to V - Skyrim