Difference between revisions of "ListGetCount"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-'''.*'''\r\n +))
imported>Odessa
(Tidied + added example/see also)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = "returns the count of items in the form list"
  |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 = form list
   |Name = Target
   |Type = ref
   |Type = formlist
   }}
   }}
}}
}}
[[Category:Functions_(FOSE)]]
==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]]

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

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

Example

int iCount

set iCount to ListGetCount AmmoList10mm ; * 3

See Also