GetNumItems

From GECK

A function added by the Fallout Script Extender.

Description

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

Syntax

(int) ContainerRefID.GetNumItems 

Or:

(int) ContainerRefID.GetNumObjects

Example

int total
set total to player.GetNumItems
Personal tools