Difference between revisions of "GetNumItems"
Jump to navigation
Jump to search
imported>DragoonWraith |
imported>WereWolf (Fixed categories) |
||
Line 12: | Line 12: | ||
*Equipped items and identical items that are unequipped are still only one unique item | *Equipped items and identical items that are unequipped are still only one unique item | ||
[[Category: OBSE Functions]] | [[Category: Functions (OBSE)]] | ||
[[Category: OBSE | [[Category: Inventory Functions]] | ||
[[Category: OBSE | [[Category: Inventory Functions (OBSE)]] | ||
[[Category: Record Variable Functions]] | |||
[[Category: Record Variable Functions (OBSE)]] |
Revision as of 14:29, 10 September 2007
A command for Oblivion Script Extender
Syntax:
GetNumItems
Must be called on a reference. Returns the number of unique items in the object's inventory.
Notes
- Note that it is the number of unique items in the inventory - 10 arrows will only count as one item.
- Gold counts as an item, so if you have any gold, you'll get a +1 to your return
- Equipped items and identical items that are unequipped are still only one unique item