Jump to content

How to script a function that look at the player inventory for items that has a certain keyword?


Recommended Posts

i am trying to make a script that make a form that look for items with "VendorItemScroll" keyword in the player inventory and stores it temporarily for use in remove item, i found a way to make something like that but using a formlist.

        Form ItemToMove = AutoSorterSoulGemList.GetAt(FormToFind)
        Int ItemToMoveCount = PlayerRef.GetItemCount(AutoSorterSoulGemList.GetAt(FormToFind))

ideally i would want the "Form ItemToMove" to get the item list not from a form list, but from what the player have in its inventory based on "VendorItemScroll" keyword.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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