GetNumItems

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

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

Syntax

[help]
(numItems:int) ContainerRefr.GetNumItems 

Or:

(numItems:int) ContainerRefr.GetNumObjects

Example

int total
set total to player.GetNumItems 

See Also