ListClear
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Removes all entries from the specified form list.
Syntax
(None) ListClear ToClear:FormList
Example
ListClear SomeFormList if ListGetCount SomeFormList == 0 ; It worked endif
Notes
- Although officially added by NVSE V1.1, this function was formerly broken and did nothing. It was fixed in V4.
See Also
- ListGetCount
- ListGetNthForm
- ListAddForm
- Array Variables (an alternative to using form lists)