RemoveAddedForm - FormList

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: FormList Script

Removes the given added form from the form list. Only forms added to the list via calls to AddForm can be removed.

Syntax[edit | edit source]

Function RemoveAddedForm(Form apForm) native

Parameters[edit | edit source]

  • apForm: Added form to remove from the list

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Removes the diamond from the gem list (but only if a script added it in the first place)
GemList.RemoveAddedForm(Diamond)

Notes[edit | edit source]

  • This function was broken by the 1.6 patch, but later fixed by the 1.8 patch. It currently works as intended.

See Also[edit | edit source]