Hi again, I'm trying to set it up so that Eorlund Gray-Mane will start selling the Skyforge weapons when my quest gets to a certain stage. When looking at the MerchantWhiterunEorlundChest I saw that the VendorEorlundSkyforgeSteelSet was listed. When I opened it up to get more details I found that it is tied to the CompanionsGearChanceNone global variable. Does this mean that if I change this global variable that he will start selling them? The reason I'm asking is because I can't find anywhere in the Companions quest line where this global variable is being used, which makes me wonder if this is even the correct way to get him to sell the items. Am I right in assuming this or am I way off?
Setting Merchant to Sell Item Earlier in Game
#1
Posted 25 November 2014 - 01:23 PM
#2
Posted 25 November 2014 - 01:29 PM
You should be able to change the variable to 0 and he will start selling them.
Right-click on a form and select "Use Info" to get a rundown of where it is referenced. Doing this on the global should reveal what quest changes its value.
#3
Posted 25 November 2014 - 01:33 PM
Thanks, turns out is is being referenced by one of the Companions quests. Apparently I just overlooked it somehow.
#4
Posted 25 November 2014 - 11:11 PM
Alright, back from work and finally got a chance to test out that global. Oddly enough it says that the variable is undefined. Why would this be?
#5
Posted 25 November 2014 - 11:38 PM
#6
Posted 26 November 2014 - 01:05 AM
I opened the global variable then copy and pasted the exact name. This is the errors that I get:
Starting 1 compile threads for 1 files... Compiling "QF_RKThaneSkyforgeQuest_02000D62"... D:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_RKThaneSkyforgeQuest_02000D62.psc(38,0): variable CompanionsGearChanceNone is undefined D:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_RKThaneSkyforgeQuest_02000D62.psc(38,0): type mismatch while assigning to a none (cast missing or types unrelated) No output generated for QF_RKThaneSkyforgeQuest_02000D62, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on QF_RKThaneSkyforgeQuest_02000D62
#7
Posted 26 November 2014 - 01:20 AM
Got it to compile. I had to manually go into the script and pass in the global variable. Now time to start testing this mod. ![]()
#8
Posted 26 November 2014 - 03:42 PM
Alright, so I found out the hard way that the CompanionsGearChanceNone global variable also enables other Companion armor to be sold by Eorlund, which is something that I don't want. My first thought was to change the global variable for the Skyforge weapons set but then I realized that would mean I'd also have to find where it's being refereneced in quest C00 and update that so it uses the new global variable. My next thought was to create a new weapons set and add that to his chest when I need it. Only problem with that is if the player goes back later and decides to join the companions there will be the possibility to have duplicate items listed when purchasing from Eorlund, would mean I would still have to alter the C00 quest. What do you think? Is there a better solution?
#9
Posted 26 November 2014 - 04:52 PM
It's no big deal if the chest pulls from both leveled lists after the player does the companions quest. It just means that at least 2 of each weapon will show up in Eorland's inventory instead of at least 1. They won't show up as different items, for example.
#10
Posted 26 November 2014 - 05:00 PM
Alright, then I'll go ahead and create a new weapons set for the items that I want him to sell and will add that to his chest.



Sign In
Create Account
Back to top









