HasForm - FormList
Member of: FormList Script
Returns whether the passed-in form exists in this form list.
bool Function HasForm(Form akForm) native
- akForm: The form to look for in this form list.
Whether the form exists in this list or not.
; Does the "fireball" spell exist in the "firespell" list? if fireSpell.HasForm(Fireball) Debug.Trace("Fireball is a fire spell!") endIf
Form lists inside form lists will not be checked for items. If you ask a form list if it has a form and that form is inside a nested form list this function will return false.