ListGetCount

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Returns the count of forms in the specified FormList.

Syntax

[help]
(Count:int) ListGetCount formlist:baseForm 

Example

int iCount

set iCount to ListGetCount AmmoList10mm ; * 3

Notes

  • Will not properly return the count of a list of references if they are not flagged persistent.

See Also