0xLordx0 Posted February 14, 2012 Share Posted February 14, 2012 Would this be difficult to do? if not can someone give me a link to what i should be using Link to comment Share on other sites More sharing options...
0xLordx0 Posted February 14, 2012 Author Share Posted February 14, 2012 bump really need to know Link to comment Share on other sites More sharing options...
GomuGomu64 Posted February 14, 2012 Share Posted February 14, 2012 I too am interested in this. *Bookmarks* Link to comment Share on other sites More sharing options...
kromey Posted February 14, 2012 Share Posted February 14, 2012 To utilize the courier, you're interested in the Papyrus script WICourierScript -- you can find it in the Papyrus script manager. I'm at work now, so don't have it in front of me, but as I recall there were various methods provided in there to have the courier deliver a reference, an alias, or even a base object, I think. Take a look at the Dawnstar Museum quest -- it's DA07Init or Intro or something like that -- for an example of how to use the courier. The catch is that I don't think the courier can deliver multiple items (letter and key). That's easy enough to work around, though -- attach a script to your letter that uses the OnContainerChanged event to also add the key when it enters the player's inventory. (Should probably add a variable to make that run only once, otherwise the player could get swamped with keys if he/she e.g. puts the letter in a container and then takes it out again...) Also probably worth taking a look at whatever script it is that controls the courier delivering the letter and inheritance to you when a follower dies; I have no idea where this is, but it should show you how you can deliver multiple items from the courier. I'm not sure what the delay is between calling this function and the courier actually delivering the item, but it's something I'm going to be using myself before long, so hopefully I'll have some more information then. As for setting this all up on start up, you'll need to put your code inside the Init event. Or maybe it's something else, I'm now not finding any reference on the wiki to this event, but I could have sworn that's what it was... Link to comment Share on other sites More sharing options...
Korodic Posted February 14, 2012 Share Posted February 14, 2012 If you used the search I asked the same question. But I also posted how to do it. For step by step, follow that. EDIT: http://forums.nexusmods.com/index.php?/topic/555006-getting-a-courier-to-give-you-a-letter/ Link to comment Share on other sites More sharing options...
kromey Posted February 14, 2012 Share Posted February 14, 2012 EDIT: http://forums.nexusmods.com/index.php?/topic/555006-getting-a-courier-to-give-you-a-letter/Weird... I click on that link and get an error (to the effect of "can't determine what forum this is in"), and when I search I don't find this thread at all -- tried multiple variations of the key words, including the title of the thread itself, to no avail! Link to comment Share on other sites More sharing options...
Korodic Posted February 14, 2012 Share Posted February 14, 2012 wow.. Lemme get the solution off of it... --------- Well, I will try. For an example go into the quest MS06. You only need this line of code to use in your script "(CourierQuest as WICourierScript).AddItemToContainer(YOUROBJECTHERE)" Make sure you add CourierQuest and your object to the properties window. Getting him to say what you want requires a little more explanation. Go into WICourier quest, look at the dialogue. Then right click (my example will be letter from a friend) and then you will see his default stuff. Make sure you add the right OR/AND configuration, and add your object to the list of conditionals, which will make him say that specific line when he delivers it. Your welcome. :) Link to comment Share on other sites More sharing options...
0xLordx0 Posted February 14, 2012 Author Share Posted February 14, 2012 Thanks for the help i'll try it soon Link to comment Share on other sites More sharing options...
kromey Posted February 14, 2012 Share Posted February 14, 2012 Awesome, thanks Korodic, that should prove very handy when I have to implement this (hopefully I'll get to it tonight, I really want to put out a release already!). Link to comment Share on other sites More sharing options...
Recommended Posts