Help with Quest script

Post » Fri Feb 18, 2011 10:02 pm

I am currently creating a quest for oblivion. I have two questions.

1. How do I create choices for the player in a topic? (I have tried right clicking in the choices section and adding new choice, doesn't seem to work)

2. How do I get the quest to progress to the next stage when the player is trying to open a door which is locked?

Thanks for taking your time for reading this and any help would be appretiated.

Sil
User avatar
LuCY sCoTT
 
Posts: 3410
Joined: Sun Feb 04, 2007 8:29 am

Post » Sat Feb 19, 2011 12:43 am

1. How do I create choices for the player in a topic? (I have tried right clicking in the choices section and adding new choice, doesn't seem to work)


You're doing it right. What is happening instead of what should happen, then?

2. How do I get the quest to progress to the next stage when the player is trying to open a door which is locked?


You just need to make a unique door with a script like this:

scn YourScriptNameGoesHereBegin OnActivate Player	If GetStage YourQuestEditorIDGoesHere == 10		SetStage YourQuestEditorIDGoesHere 20		Activate	Else		Activate	EndIfEnd


Fill in the "blanks" as necessary, and change the quest stage values to what you need them to be.
User avatar
Jonny
 
Posts: 3508
Joined: Wed Jul 18, 2007 9:04 am

Post » Sat Feb 19, 2011 9:21 am

Oh thanks alot,
Just starting modding got everything except scripting concepts in the bag (well almost everything). Look forward to trying the script out (now lol) thanks again

Sil
User avatar
Sheeva
 
Posts: 3353
Joined: Sat Nov 11, 2006 2:46 am


Return to IV - Oblivion