Jump to content

Problem adding notes via picking up items.


Recommended Posts

The way my quest is currently set up, I want an NPC to give the player a book which adds a pipboy note.
When the note is read by the player, I want it to move to the next stage in the quest.

Can somebody offer some insight as to how I go about doing this?
If what I'm suggesting isn't possible, could anybody offer an alternative method of accomplishing the same thing?

Many thanks.

Link to comment
Share on other sites

You can't exactly do that, but you could easily advance the quest after the note is given to the player. (There is no way to check if it has been read.)

First create a note, and fill it in the the text you want. Then, make a quest script and attach it to your quest. The script should be similar to this.

---------------------
scn QuestScript
int NoteAdvance
int DoOnce
Begin Gamemode
if NoteAdvance == 1 && DoOnce != 1
SetStage QuestID 10
set DoOnce to 1
endif
end
----------------------------
After that, in the result script of the quest, simply add the note to the player's inventory and set the NoteAdvance variable to one.
Link to comment
Share on other sites

 

You can't exactly do that, but you could easily advance the quest after the note is given to the player. (There is no way to check if it has been read.)

First create a note, and fill it in the the text you want. Then, make a quest script and attach it to your quest. The script should be similar to this.

---------------------
scn QuestScript
int NoteAdvance
int DoOnce
Begin Gamemode
if NoteAdvance == 1 && DoOnce != 1
SetStage QuestID 10
set DoOnce to 1
endif
end
----------------------------
After that, in the result script of the quest, simply add the note to the player's inventory and set the NoteAdvance variable to one.

 

That's pretty similar to what I've ended up doing.

 

Thank you for the help!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...