spandrel Posted October 20, 2017 Share Posted October 20, 2017 Does anyone know how it might be possible to do a quest script adding a leveled list to base containers? I'd like the list to appear in every individual instance of them, without requiring a bash patch to be compatible with other mods. I've tried as many ways as I can find at the CK site, all aren't legitimate functions when applied to containers. I can apparently add a leveled list to the player (at least it compiles without errors), but not to containers. If it's just not possible, would there be some way to do it by reference IDs of all their individual instances? Um, quickly? Thanks for any help you can offer. Link to comment Share on other sites More sharing options...
Deleted6306543User Posted October 20, 2017 Share Posted October 20, 2017 Functions to add items typically refer to ObjectReference or Actor instances, not base objects. In fact, the base container object has no functions at all. One way to do this would be to make a formlist of every reference (possibly just dragging from the Use Info dialogue?) and loop through it to add the leveled list, but this would be lost on a cell respawn, so you'd have to keep on adding it, which just gets messy as hell. The better way is to identify existing leveled lists that are in those containers and add to them with the script, but that's tricky because it depends on there being convenient leveled lists already in place, and on your ability to identify the right place to insert your leveled list. Usually works for things like randomly generated gear on NPCs and in store inventories, but beyond that it's a crapshoot. Considering it's relatively easy to patch these things in xEdit, it seems to me that the best way to get the job done is just to edit the records in the plugin and expect users to patch conflicts themselves. But I'm a pretty fix-it-yourself kind of person by nature, so eh. Link to comment Share on other sites More sharing options...
spandrel Posted October 21, 2017 Author Share Posted October 21, 2017 Thank you for the info. I'm looking at adding to the 12 boss chest base containers, there are a couple leveled lists that are candidates but they seemed unfortunately a bit inconsistent in how they are applied, like you mentioned. I'll check further into that option though or just leave it to others to patch! I wonder if container functions could be made in the script extender, although I suppose their main work on that is behind them now. Link to comment Share on other sites More sharing options...
Recommended Posts