Jump to content

Item categories using a function


Alral

Recommended Posts

Good day.

 

Is there any way to determine which category does an item fall under for any given item (incl. those from third-party mods, etc) via a script?

 

Just as they are shown in the Object tree (or in the PipBoy, for that matter) to be either Weapon, Armor, Ammo, Consumable, Misc, etc...

 

"RemoveAllTypedItems" might be a solution, but I don't really like it. Besides, it doesn't look exactly like what I need.

 

Thank you!

Edited by Alral
Link to comment
Share on other sites

And another question now arises.

How can I do the same, but using a base id instead of a reference, is there a direct function? For example, if I want to get a form type of an item in a container, is it achievable without looking for temporate references (and creating buffer variables which I would prefer to avoid)?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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