Difference between revisions of "ListAddReference"

From GECK

(new fose function)
 
m
Line 29: Line 29:
 
*[[ListReplaceForm]]
 
*[[ListReplaceForm]]
 
*[[ListReplaceNthForm]]
 
*[[ListReplaceNthForm]]
*[[ListGetForm]]
 
 
*[[ListGetNthForm]]
 
*[[ListGetNthForm]]
 
*[[ListGetFormIndex]]
 
*[[ListGetFormIndex]]

Revision as of 08:56, 3 August 2009

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

See Also

Personal tools