Difference between revisions of "ListGetCount"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions \(GECK 1.0\)\]\] +Category:\1Functions (FOSE))) |
imported>Odessa (Tidied + added example/see also) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
|summary = Returns the | |summary = Returns the count of items in the specified form list. | ||
|name = ListGetCount | |name = ListGetCount | ||
|returnType = Count:int | |||
|returnType = int | |arguments = | ||
|arguments = | |||
{{FunctionArgument | {{FunctionArgument | ||
|Name = | |Name = Target | ||
|Type = | |Type = formlist | ||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
int iCount | |||
set iCount to ListGetCount AmmoList10mm ; * 3 | |||
* | </pre> | ||
==See Also== | ==See Also== | ||
*[[ | *[[ListGetNthForm]] | ||
*[[ListRemoveNthForm]] | *[[ListRemoveNthForm]] | ||
*[[ | *[[Ar_Size]] (equivalent for [[Array Variable|arrays]]) | ||
[[Category:Functions_(FOSE)]] [[Category:List_Functions]] | |||
[[Category: | |||
[[Category: | |||
Latest revision as of 05:08, 24 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns the count of items in the specified form list.
Syntax
(Count:int) ListGetCount Target:formlist
Example
int iCount set iCount to ListGetCount AmmoList10mm ; * 3
See Also
- ListGetNthForm
- ListRemoveNthForm
- Ar_Size (equivalent for arrays)