Difference between revisions of "FormList"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>RobinHood70
m (→‎Example Scripts: Fix link)
imported>DavidJCobb
Line 16: Line 16:


[[Complete Example Scripts#Cycle Through a List of Objects and Perform an Action on Each Object(FormLists)| FormList Script Example: Disabling/enabling a large quantity of objects easily]]
[[Complete Example Scripts#Cycle Through a List of Objects and Perform an Action on Each Object(FormLists)| FormList Script Example: Disabling/enabling a large quantity of objects easily]]
== Notes ==
*FormLists [http://forums.bethsoft.com/topic/1512976-wipz-skyrim-script-extender-skse/page-4#entry23897556 only support up to 256 entries], including the zeroth. Adding further entries will cause overflow and destroy your list. This limitation exists for both CK-defined lists and scripts.


== See Also ==
== See Also ==

Revision as of 18:57, 20 February 2015

The FormList object is a list of other Forms (base objects). Other objects use FormLists for a variety of purposes, such as:

In most cases, FormLists should contain just one type of base form (in the examples above, Voicetypes, Packages, or Actors, respectively). If multiple types of base forms appear in the FormList, the system using the FormList may reject it.

FormList Dialog

  • ID: The Editor ID of the Formlist.
  • List of Forms: A list of forms.
    • To add a form to this list, drag it in from the Object Window.
    • To remove a form, click on it and press the 'Delete' key.
    • To move a form up or down in the list, highlight it and use the right and left arrow keys.

Example Scripts

FormList Script Example: Disabling/enabling a large quantity of objects easily

Notes

  • FormLists only support up to 256 entries, including the zeroth. Adding further entries will cause overflow and destroy your list. This limitation exists for both CK-defined lists and scripts.

See Also

FormList Script


Language: English  • 日本語