GetNumItems

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the number of unique items in the reference's inventory.

Syntax

[help]
(int) ContainerRefID.GetNumItems 

Or:

(int) ContainerRefID.GetNumObjects

Example

int total
set total to player.GetNumItems