Difference between revisions of "A beginner's guide, lesson 7 - Using Scripts in Quests"
Jump to navigation
Jump to search
A beginner's guide, lesson 7 - Using Scripts in Quests (edit)
Revision as of 10:11, 31 July 2010
, 10:11, 31 July 2010→Aleswell Phase: editing a little more
imported>Pyrocow2 (→Aleswell Phase: Redoing this section.) |
imported>Pyrocow2 (→Aleswell Phase: editing a little more) |
||
Line 452: | Line 452: | ||
! RESULT SCRIPT | ! RESULT SCRIPT | ||
| | | | ||
<pre>SetStage BGM001 70</pre> | <pre> | ||
SetStage BGM001 70 | |||
Player.Additem "BGHideoutKey" 1 | |||
ShowMap BGCaveMapMarker | |||
</pre> | |||
|} | |} | ||
The result script bumps the quest stage to 70 and gives the player the key and map marker. In the quest stage section for stage 70 we can add an appropriate journal entry. | |||
Of course before we do this we need to add the MapMarker to the exterior of our cave. The cave system cell is ''BGmodtSugglersCaveCOPY0000'' in the ''Interiors'' worldspace. The cave exterior cell is ''BGTutMCaveExt'' in the ''Tamriel'' worldspace. | |||
Of course before we do this we need to add the MapMarker to the exterior of our cave. The cave system cell is BGmodtSugglersCaveCOPY0000 in the Interiors worldspace. The cave exterior cell is BGTutMCaveExt in the Tamriel worldspace. | |||
Again we can use the door teleport marker to get ourselves to the exterior location. | Again we can use the door teleport marker to get ourselves to the exterior location. | ||
Drop in a MapMarker and give it a Suitable reference name like BGCaveMapMarker. | Drop in a MapMarker and give it a Suitable reference name like ''BGCaveMapMarker''. | ||
Journal entry: | Journal entry: | ||
''Smith | ''Smith gave me a key for the Red Rose Brigade's hideout. I should go to the hideout and see if I can recover my uncle's key and house deed.'' | ||
==Red Rose Hideout Phase== | ==Red Rose Hideout Phase== |