Aceofrogues Posted January 17, 2020 Share Posted January 17, 2020 In the GECK vendorbox cel, the ref field is blank.Does this mean that it doesn't have one? Link to comment Share on other sites More sharing options...
Mktavish Posted January 17, 2020 Share Posted January 17, 2020 For clarity ... You mean this cell "VendorChestsCell" And the particular container item with Base-ID "VendorChestBuriedFlakAndShrapnel" Which is the only one in that cell with a blank "Ref-ID" field.But if you notice there are numbers in brackets next to the field.Which in this case is [000B420E] the form ID that is created automatically when you drop something in the render window.The Ref-ID field is just for us humans to better understand what it is ... and is not needed for the computer to understand ... thereby you can use the form-id in place of it ... or make one if you so choose. But will always be tied to the form id. Link to comment Share on other sites More sharing options...
Aceofrogues Posted January 17, 2020 Author Share Posted January 17, 2020 Thank you for replying and taking the time to check.I'm talking about New Vegas, but it should work the same way.The problem i'm having is using the form ID isn't allowing me to save the script. scn MoreAmmoCraftingSuppliesVendortron Begin Gamemode If (000ED4CF.GetItemCount BoxCase10mm <= 300) 000ED4CF.AddItem BoxCase10mm 100EndIf endIt works if I use one of the Ref-id of the other chests. Link to comment Share on other sites More sharing options...
dubiousintent Posted January 18, 2020 Share Posted January 18, 2020 I believe you need to assign that to a variable first, and use that instead of using the Ref-ID value directly. See "GetSelf". -Dubious- Link to comment Share on other sites More sharing options...
Mktavish Posted January 18, 2020 Share Posted January 18, 2020 Thank you for replying and taking the time to check. I'm talking about New Vegas, but it should work the same way. The problem i'm having is using the form ID isn't allowing me to save the script. scn MoreAmmoCraftingSuppliesVendortron Begin Gamemode If (000ED4CF.GetItemCount BoxCase10mm <= 300) 000ED4CF.AddItem BoxCase10mm 100EndIf end It works if I use one of the Ref-id of the other chests. I was talking about NV also. So it helps to be specific ... in this case the difference between "VendorChestCell" and "NVVendorChestCell" Both are within FNV esm , which I just loaded gun runners and the main file in geck to look. But now I am perplexed because the box with the form-ID for its ref form ... you posted[000ED4CF] already had a typed in Ref-IDVendortronContainerREF And depending on your load order ... I think the form ID's can get shuffled around a bit for the first characters in the ID ? But don't forget , you can always just add a Ref ID if they don't have one.Albeit I think there is better ways to do what your attempting like dubious mentioned.But if its for your personal use and it's been working ... just go with it till it don't. Link to comment Share on other sites More sharing options...
Aceofrogues Posted January 18, 2020 Author Share Posted January 18, 2020 Using VendortronContainerREF worked. I think what happened is that the devs didn't add one in vanilla. Then they needed one in the Gun Runners dlc, which i hadn't loaded because it should not have been needed!Thank you both Link to comment Share on other sites More sharing options...
Recommended Posts