Jump to content

[HELP] Make Courier deliever a letter?


Recommended Posts

I am wanting to make the Courier deliver a letter as well as a key to the dragonborn telling them of a castle that was built in their name after they have defeated Alduin. Anyone know how to go about doing this?
Link to comment
Share on other sites

To get the Courier to deliver your letter you need to put something like this in your quest scripts somewhere. If this is a house mod that doesn't really have a quest, you'll need to make a simple Game-start-enabled quest, check the "run once" box and place the

"(CourierQ as WICourierScript).AddItemToContainer(YourQuestNote)" line inside an OnInit script event.

 

Quest property CourierQ auto
Book property YourQuestNote auto
(CourierQ as WICourierScript).AddItemToContainer(YourQuestNote)

 

 

And since the courier won't deliver anything but books and letters, to my knowledge, I would make it so the key 'drops out' of the letter when it get's read. i.e., attach a script like this to the note:

 

key property YourQuestKey auto
auto State WAITINGTOBEREAD
    Event OnRead()
         Game.GetPlayer().AddItem(YourQuestKey,1)
         GotoState("DONE")
    EndEvent
endstate

state DONE
;does nothing
endstate

Link to comment
Share on other sites

  • Recently Browsing   0 members

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