RemoveAddedForm - FormList

From the CreationKit Wiki
Revision as of 20:43, 13 April 2015 by imported>DavidJCobb (I had this same worry. This should clear things up once and for all...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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