Editing Scripting Tutorial: Working with FormLists

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 55: Line 55:


===Adding Forms to a List===
===Adding Forms to a List===
*You can add base forms to a FormList in the GECK by dragging and dropping them into the FormList window.
You can add base forms
*You can use the [[ListAddForm]] function.
*ListAddForm
*You can use the [[ListAddReference]] function.
**ref.ListAddReference
*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===
*removing forms from the list
*You can remove forms from a FormList in the GECK by selecting a form and pressing the 'Delete' key.
**ListRemoveForm
*You can use the [[ListRemoveForm]] function.
**ListRemoveNthForm
*You can use the [[ListRemoveNthForm]] function.


===Replacing Forms in a List===
*replacing forms in the list
*You can use the [[ListReplaceForm]] function.
**ListReplaceForm
*You can use the [[ListReplaceNthForm]] function.
**ListReplaceNthForm


===Getting Forms from a List===
*getting forms from the list
*You can use the [[ListGetNthForm]] function.
**ListGetForm
**ListGetNthForm


===Getting List Information===
*getting form information
*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.
**ListGetFormIndex
*You can use the [[IsInList]] function.
**ListGetCount
*You can use the [[ListGetFormIndex]] function.
*You can use the [[ListGetCount]] function.


=Using Lists to Create Floating Text=
=Using Lists to Create Floating Text=

Please note that all contributions to the Fallout3 GECK Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see GECK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)