gorshkov Posted January 23, 2015 Share Posted January 23, 2015 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 More sharing options...
Ladez Posted January 23, 2015 Share Posted January 23, 2015 IsPlayable Link to comment Share on other sites More sharing options...
gorshkov Posted January 23, 2015 Author Share Posted January 23, 2015 IsPlayable$@#*@*&(@# ........... I've been looking for that for literally months - I have no idea how the hell I missed that. Thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts