Difference between revisions of "Bethesda Tutorial Quest Loose Ends"

Jump to navigation Jump to search
→‎Pickpocketing: Added info/script about killing thief after pickpocket
imported>Kingnothin
m (→‎Out of Order: Added missing word "to" in bullet under item 2)
imported>Nemesis
(→‎Pickpocketing: Added info/script about killing thief after pickpocket)
Line 113: Line 113:


(Of course, we could also simply never have the "Kill the thief" objective, and just tell the player to retrieve the amulet. This is probably better from a design perspective, as it doesn't encourage any particular playstyle over another.)
(Of course, we could also simply never have the "Kill the thief" objective, and just tell the player to retrieve the amulet. This is probably better from a design perspective, as it doesn't encourage any particular playstyle over another.)
If player kill the thief after pickpocketing the amulet, the player will receive an additional objective; to retrieve the amulet we already have, leaving two active objectives.
We can easy solve this by editing the TutorialQuest script we gave the [[Bethesda_Tutorial_Basic_Quest_Scripting | thief]].
<source lang="papyrus">
Event OnDeath(Actor killer)
if (TutorialQuest.GetStage() < 30)
TutorialQuest.SetStage(20)
endif
EndEvent
</source>
This will check if the quest stage is below 30  before it changes the stage for 20. So if player already pickpocket the amulet changing quest stage to 30, then killing the thief will never trigger stage 20.


=Out of Order=
=Out of Order=
Anonymous user

Navigation menu