Most Scripting Issues Unrelated to WalkerInShadows Issues

Post » Wed Dec 25, 2013 7:02 pm

Well maybe. I figured he had a good idea and I'll try to keep the forum less cluttered by having a single topic for all my questions. I want to write this quest and then I'll probably be done with modding forever, I just have to complete this quest.
Of course, I am not that familiar with Oblivion scripting and the last time I touched it was long, long ago and so I think I have forgotten most of it. So the first problem I have ran into is just getting this darn quest to start properly...
Spoiler

scn QuestScriptshort Choiceshort ChoosingBegin GameMode	if player.GetItemCount book1 >= 1 && player.GetItemCount book2 >= 1 && player.GetItemCount book3 >= 1 && player.GetItemCount book4 >= 1 && player.GetItemCount book5 >= 1 && player.GetItemCount book6 >= 1		player.GetStage MrQuest	endifendBegin GameMode	if (Choosing == -1)			messagebox "I have found 6 books following the story of a man..." "I should look into this." "What, are you kidding? No thanks!"	endifendBegin GameMode	set choice to GetButtonPressed	if choice == 0		set Choosing to 1		GetStage MrQuest	elseif choice == 1		set Choosing to 1		GetStageDone MrQuest 5	endifend

Where the first block is just to check to make sure the player has all 6 books before starting the quest, the second block is a message box with 2 options, the third block is for the player to select options and their outcome. The first will advance the player to stage 10 which I have made as the "progressing stage" where the player has now officially started the quest, and option two will allow the player to end the quest abruptly - advancing them to stage 5 which ends the quest.

So getting this one solved first would help out a lot. I have the whole storyboard to the quest written out and I have tried to minimalize the amount of script-intensive parts but there are a couple of things in the future I am concerned about when it comes to scripting. So expect more as I progress through this. If you are that super curious and want to really help someone out I'll gladly tell you all the scripting issues that I fear may arise if you want to help me get a head start one those.

Thank you!

**note that names and references are using placeholders for the forum.
User avatar
Lakyn Ellery
 
Posts: 3447
Joined: Sat Jan 27, 2007 1:02 pm

Return to IV - Oblivion