Difference between revisions of "ListGetCount"
Jump to navigation
Jump to search
imported>Kalizar |
imported>Odessa (Tidied + added example/see also) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
|summary = | |summary = Returns the count of items in the specified form list. | ||
|name = ListGetCount | |name = ListGetCount | ||
|returnType = int | |returnType = Count:int | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = | |Name = Target | ||
|Type = | |Type = formlist | ||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
int iCount | |||
set iCount to ListGetCount AmmoList10mm ; * 3 | |||
</pre> | |||
==See Also== | |||
*[[ListGetNthForm]] | |||
*[[ListRemoveNthForm]] | |||
*[[Ar_Size]] (equivalent for [[Array Variable|arrays]]) | |||
[[Category:Functions_(FOSE)]] [[Category:List_Functions]] | [[Category:Functions_(FOSE)]] [[Category:List_Functions]] |
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)