RemoveAddedForm - FormList

From Creation Kit
Jump to: navigation, 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

Function RemoveAddedForm(Form apForm) native

Parameters

  • apForm: Added form to remove from the list

Return Value

None

Examples

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

Notes

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

See Also