Difference between revisions of "ListAddReference"
Jump to navigation
Jump to search
imported>Omzy m |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
||
Line 37: | Line 37: | ||
[[Category:List Functions]] | [[Category:List Functions]] | ||
[[Category:List Functions (GECK 1.0)]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.0)]] |
Revision as of 12:12, 12 August 2009
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Adds a reference to a FormList with the option to specify an index. If no index is specified, the form is added at the end of the list (with the highest index). This differs from AddFormToFormList. The function returns the index at which the form was successfully added.
Syntax
(addedAtIndex:int) [Object].ListAddReference FormListID:ref index:int
Example
myForm.ListAddReference myFormList yourForm.ListAddReference yourFormList 4
Notes
- If you wish to add a base object form to a FormList, use ListAddForm.
- This function differs from AddFormToFormList in the way that forms are added to a FormList when no index is given.