Difference between revisions of "ListGetCount"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions \(GECK 1.0\)\]\] +Category:\1Functions (FOSE)))
imported>Geckbot
(Automated import of articles)
Line 1: Line 1:
'''ListGetCount'''
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = Returns the size (number of forms) of a [[FormList]].
  |summary = "returns the count of items in the form list"
  |name = ListGetCount
  |name = ListGetCount
|returnVal = size
  |returnType = int
  |returnType = int
  |arguments =
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = FormListID
   |Name = form list
   |Type = ref
   |Type = ref
   }}
   }}
|example = ListGetCount myFormList
}}
}}
 
[[Category:Functions_(FOSE)]]
==Notes==
*Useful when you need to loop through a [[FormList]]. See [[Scripting Tutorial: Working with FormLists]].
 
==See Also==
*[[ListAddForm]]
*[[ListAddReference]]
*[[ListRemoveForm]]
*[[ListRemoveNthForm]]
*[[ListReplaceForm]]
*[[ListReplaceNthForm]]
*[[ListGetNthForm]]
*[[ListGetFormIndex]]
*[[AddFormToFormList]]
*[[IsInList]]
*[[IsWeaponInList]]
 
[[Category:List Functions]]
[[Category:List Functions (FOSE)]]
[[Category:Functions]]
[[Category:Functions (FOSE)]]

Revision as of 11:23, 27 July 2010

ListGetCount

< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

"returns the count of items in the form list"

Syntax

[help]
(int) ListGetCount form list:ref