FormList Script

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Extends: Form Script

Editor: FormList

Native base script for Formlists in the game.

Definition[edit | edit source]

ScriptName FormList extends Form Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

  • Function AddForm(Form apForm)
    • Adds the given form to the form list.
  • int Function Find(Form apForm)
    • Finds and returns the index of the specified form.
  • Form Function GetAt(int aiIndex)
    • Returns the form in the list at index aiIndex.
  • int Function GetSize()
    • Returns the number of forms in the form list.
  • bool Function HasForm(Form akForm)
    • Returns whether the passed-in form is in this form list.
  • Function RemoveAddedForm(Form apForm)
    • Removes the given added form from the form list.
  • Function Revert()
    • Removes all script added forms from the form list.

Events[edit | edit source]

None

See Also[edit | edit source]