Difference between revisions of "Scripting Tutorial: Working with FormLists"
Jump to navigation
Jump to search
Scripting Tutorial: Working with FormLists (edit)
Revision as of 09:54, 3 August 2009
, 09:54, 3 August 2009no edit summary
imported>Omzy |
imported>Omzy |
||
Line 58: | Line 58: | ||
===Adding Forms to a List=== | ===Adding Forms to a List=== | ||
You can add base forms | *You can add base forms to a FormList in the GECK by dragging and dropping them into the FormList window. | ||
*ListAddForm | *You can use the [[ListAddForm]] function. | ||
** | *You can use the [[ListAddReference]] function. | ||
*You can use the [[AddFormToFormList]] function, although it is recommended to use [[ListAddForm]] instead since the FOSE function names are more standardized. | |||
* | ===Removing Forms from a List=== | ||
* | *You can remove forms from a FormList in the GECK by selecting a form and pressing the 'Delete' key. | ||
* | *You can use the [[ListRemoveForm]] function. | ||
*You can use the [[ListRemoveNthForm]] function. | |||
===Replacing Forms in a List=== | |||
* | *You can use the [[ListReplaceForm]] function. | ||
* | *You can use the [[ListReplaceNthForm]] function. | ||
===Getting Forms from a List=== | |||
* | *You can use the [[ListGetNthForm]] function. | ||
* | ===Getting List Information=== | ||
**ListGetFormIndex | *You can view the entries of a FormList in the GECK in the FormList window. In the first column is the index of the entry. In the second column is the type of form (references are REFR). In the third column is the EditorID. In the fourth column is the NumericID. | ||
* | *You can use the [[IsInList]] function. | ||
*You can use the [[ListGetFormIndex]] function. | |||
*You can use the [[ListGetCount]] function. | |||
==Lists of Lists...What?== | ==Lists of Lists...What?== |