DukeFred Posted July 9, 2016 Share Posted July 9, 2016 (edited) I'm attempting to make a mod that adds items to the workshop vendor containers based on conditionals, like which settlement the vendor is located in. My problem is that I can't get past the very first step: adding items to vendor container ObjectReferences using scripts. I've been using simple test scripts that do nothing more than add an item, no conditionals, and nothing seems to be working so far. I'm barely even a novice here, so any help would be greatly appreciated. I'm not actually running all of these Event checks simultaneously, just figured I'd paste them all in as examples of what I've tried. Outside of the code:I'm attaching the script to the Container WorldObject: WorkshopVendorChestClinic03 (Surgery Center container).After attaching the script, I've set the Property to the Power Armor helmet (this is just for testing; since none of the vendors sell Power Armor it stands out more).I've tried resting 72 hours while inside the settlement, and I've tried 72 hours while far away and then fast travelling back for each of these Event tests. (I know 48 is the minimum) Scriptname WorkshopVendorContainers extends ObjectReference ; Get Form "Armor_Power_T51_Helmet" Form Property wsvcPowerArmorTest auto Event OnReset() self.AddItem(wsvcPowerArmorTest, 1, true) EndEvent Event OnLoad() self.AddItem(wsvcPowerArmorTest, 1, true) EndEvent Event OnCellLoad() self.AddItem(wsvcPowerArmorTest, 1, true) EndEvent I'm hoping my problem is something silly and simple, heh... Edited July 9, 2016 by DukeFred Link to comment Share on other sites More sharing options...
Recommended Posts