KiCHo666 Posted July 30, 2014 Posted July 30, 2014 Hello again!I hit a wall with my latest mod (Destruction Overhaul), because I realised that by destroying the container you'll lose all stuff that is inside, the default one and stuff added by the player.So, what I would need is a script that upon destroying the container (reaching a certain destrucion stage), all the items that are inside would be transfered to another container that is spawned in place of destroyed container.Similar to the way the ash pile contains all items that belong to the NPC we just turned into ash, but I would use a tool box for example.Help would be appreciated. :)
Quetzlsacatanango Posted July 30, 2014 Posted July 30, 2014 containerA.removeallitems containerB http://geck.bethsoft.com/index.php?title=RemoveAllItems
KiCHo666 Posted July 30, 2014 Author Posted July 30, 2014 You are kidding me?!That easy??? So, will that work for any container or is a script needed for each one?
KiCHo666 Posted July 30, 2014 Author Posted July 30, 2014 Actually it's not that easy.What I need is a script that will spawn a new container with loot of destroyed container.For example, I destroy 3 cash ragisters, 1 fridge and 2 firehose boxes in one cell, and for each one of them is individual container spawned with their loot in it.
Recommended Posts