Difference between revisions of "FormList Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Qazaaq
 
Line 2: Line 2:
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Script Objects]]
[[Category:Miscellaneous]]
'''Extends''': [[Form Script]]
'''Extends''': [[Form Script]]
'''Editor''': [[FormList]]


Native base script for Formlists in the game.
Native base script for Formlists in the game.
Line 35: Line 38:
== Events ==
== Events ==
None
None
== See Also ==
*[[:Category:Miscellaneous|Miscellaneous Category]]

Latest revision as of 02:25, 13 July 2016

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]