GetNumItems

From GECK

Revision as of 05:02, 1 February 2013 by WarMachineDD7 (Talk | contribs) (Created page with "{{Function |origin = FOSE1 |summary = Returns the number of unique items in the reference's inventory. |name = GetNumItems |alias = GetNumObjects |returnType = int |refe...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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