Jump to content

Dropping Loots


coldZou

Recommended Posts

Hello everyone !

 

Being a newbie at modding I would like to know if it was possible to make a script or mod that makes loots from killed foes dropping all around him instead of having to loot the corpses ?

 

I know it sound stupid, but this is something that I find very funny especially when the foe has a ton of loots ! With an offset for force and direction or something like that...

 

If anybody could enlighten me if this is doable or not, and how I should begin/do it, I would really really appreciate !

 

Thank you !!

Edited by coldZou
Link to comment
Share on other sites

this would require a script most likely to spawn specific items around them upon death. Death items however are contained in a list of random items so you would most likely have to create a script for every creature in the game uniquely different from the next. sounds like it be a lot of work :/

Link to comment
Share on other sites

I was thinking the same for the items on the ground xD And thought about something like a "Garbage Cleaner" for thoses, but being a beginner I don't know if this is possible or if it's already lost, what do you think x) ?

 

Thank you for your replies guys !

Link to comment
Share on other sites

There is DropObject which will drop one item at a time. If you can obtain the actor, after they die their inventory can be cycled, the objects added to a formlist, that formlist then cycled and each object dropped from the dead actor.

 

The reason I say to use a formlist rather than dropping directly from the actor is that if you aren't careful you can have issues because the cycle count changes with each drop. Possible to do without, but safer to do with the formlist.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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