Difference between revisions of "Fallout 4 Simple Fetch Quest Tutorial Chapter 10: Quest Accept"
imported>Ravelabenergy (Created page with "Category:Tutorials Category:New Users {{Tutorial Index |series=Fallout4 Scripting Quest Tutorial |chapter=10: Quest Accept |Prev=Fallout_4_Simple_Fetch_Quest_Tutorial_...") |
imported>Ravelabenergy |
||
Line 9: | Line 9: | ||
'''Note: This tutorial uses an Action-Reaction System.''' | '''Note: This tutorial uses an Action-Reaction System.''' | ||
=Start up the GECK by running the Bethesda.Net Launcher= | |||
*Open up your Mod (as in Tutorial 3) | |||
*Bring up your Quest | |||
*Click on the Scenes tab | |||
Note: I skipped a lot of steps, but by now you should know how to bring up your quest. | |||
[[image:Picture10-1.png]] | |||
=Double-Click the NPC Custom text corresponding to the player agreeing= | |||
In our example this is: Thank you so much! | |||
Note: Custom might not show up for you | |||
[[image:Picture10-2.png]] | |||
=Check the radio button Set parent quest stage= | |||
*Select the retrieve quest stage # (20) | |||
[[image:Picture10-3.png]] | |||
=Click OK= | |||
Note that in brackets near the NPC response is QE20, which means ending the dialog will set the quest stage to 20. | |||
Now we have to add code to set the objective displayed to the accept objective (20). | |||
Note: I purposely made Quest Stage #s and Quest Objective #s match. They don’t have to. The numbering is up to you. But this way it’seasier to remember. | |||
[[image:Picture10-4.png]] | |||
=Click the Quest Stages tab= | |||
*Click on the quest agreement index (20) | |||
[[image:Picture10-5.png]] | |||
=Right-Click over Log-Entry= | |||
[[image:Picture10-6.png]] | |||
=Select New= | |||
*Add a Log Entry | |||
*Add a Designer Note | |||
*Add Code to Display the Accept Objective | |||
*Click the Compile button | |||
The Code: | |||
SetObjectiveDisplayed(20) | |||
Will display Retrieve Object for Ash to the player | |||
[[image:Picture10-7.png]] | |||
=Click on the Quest Objectives tab= | |||
Note: Objective 20 has the Display Text: Retrieve Object for Ash | |||
This will be displayed once the user accepts the quest. | |||
[[image:Picture10-8.png]] | |||
=Click the OK button= | |||
*Then save your progress by going clicking; File > Save | |||
[[image:Picture10-9.png]] | |||
=Startup Fallout 4= | |||
*Talk to Ash | |||
Note: Since you quit out you’ll see all the Start Quest dialog. I “fast-forwarded” to the talk dialog. | |||
[[image:Picture10-10.png]] | |||
=Agree and wait for the dialog to finish= | |||
[[image:Picture10-11.png]] | |||
=Wait= | |||
[[image:Picture10-12.png]] | |||
=Wait some more= | |||
Then the game should display the message: Retrieve Object for Ash (Objective 20 text). Then you’re ready to retrieve the object (Teddy bear). | |||
[[image:Picture10-13.png]] | |||
Important! Don’t forget to close Fallout 4t (Alt-F4) otherwise Fallout 4 will remember your quest progress and make it hard for you to debug. |
Revision as of 15:35, 17 April 2017
Fallout 4 Simple Fetch Quest Tutorial Chapter 10: Quest Accept | |
---|---|
Fallout4 Scripting Quest Tutorial Series, Chapter 10: Quest Accept | |
Return to Tutorial Hub | |
Previous Tutorial | Next Tutorial |
Note: This tutorial uses an Action-Reaction System.
Start up the GECK by running the Bethesda.Net Launcher
- Open up your Mod (as in Tutorial 3)
- Bring up your Quest
- Click on the Scenes tab
Note: I skipped a lot of steps, but by now you should know how to bring up your quest.
Double-Click the NPC Custom text corresponding to the player agreeing
In our example this is: Thank you so much!
Note: Custom might not show up for you
Check the radio button Set parent quest stage
- Select the retrieve quest stage # (20)
Click OK
Note that in brackets near the NPC response is QE20, which means ending the dialog will set the quest stage to 20.
Now we have to add code to set the objective displayed to the accept objective (20).
Note: I purposely made Quest Stage #s and Quest Objective #s match. They don’t have to. The numbering is up to you. But this way it’seasier to remember.
Click the Quest Stages tab
- Click on the quest agreement index (20)
Right-Click over Log-Entry
Select New
- Add a Log Entry
- Add a Designer Note
- Add Code to Display the Accept Objective
- Click the Compile button
The Code:
SetObjectiveDisplayed(20)
Will display Retrieve Object for Ash to the player
Click on the Quest Objectives tab
Note: Objective 20 has the Display Text: Retrieve Object for Ash
This will be displayed once the user accepts the quest.
Click the OK button
- Then save your progress by going clicking; File > Save
Startup Fallout 4
- Talk to Ash
Note: Since you quit out you’ll see all the Start Quest dialog. I “fast-forwarded” to the talk dialog.
Agree and wait for the dialog to finish
Wait
Wait some more
Then the game should display the message: Retrieve Object for Ash (Objective 20 text). Then you’re ready to retrieve the object (Teddy bear).
Important! Don’t forget to close Fallout 4t (Alt-F4) otherwise Fallout 4 will remember your quest progress and make it hard for you to debug.