Jump to content

How to detect unplayable items?


gorshkov

Recommended Posts

I'm trying to write a script that goes through a container's inventory (a dead NPC) looking for a count of items that can be picked up by the player. Unfortunately, if some of the items are unplayable, my count is off - I may find a list of 2, but when the player actually loots, the container looks empty - the unplayable objects don't show up.

 

I know I can detect unplayable weapons using the NVSE function GetWeaponFlags1, but that doesn't help me with armor, ammo, or any other unplayable items.

 

Anybody have any ideas?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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