Jump to content

Script that would transfer items from one container to another


KiCHo666

Recommended Posts

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. :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...