Jump to content

How to use GetInveRefsForItem


Recommended Posts

Well, it finally dawned on me that I can also solve this using the numbers that do work. GetItemCount (which counts the base items and doesn't care if there is a soul in it) mostly works, except it keeps telling me i have 1 SoulGemEmpty5Grand when I actually have none. And with my other soulgem swap routine, I learned that counting the filled SoulGemEmpty5Grands by iterating through the inventory refs works.

 

So, the answer is:

 

Number of empty = GetItemCount - Number of Filled ones

 

I don't feel like posting the code unless someone asks.

 

Works every time now, except for getting the count of grand ones.

Edited by GamerRick
Link to comment
Share on other sites

  • Recently Browsing   0 members

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