Background for Skyrim SE
Member of the DbSkseFunctions script
Form[]functionGetAllFormsWithName(stringsFormName, intnameMatchMode=0, int[]formTypes=NONE, intformTypeMatchMode=1)NativeGlobal

Description

Documentation Comment

Get all forms who's name (with GetName()) match the sFormName.
nameMatchMode 0 = exact match, 1 = name contains sFormName.
formTypeMatchMode 1 = forms who match a type in formTypes.
formTypeMatchMode 0 = forms that match none of the types in formTypes.
formTypeMatchMode -1 (or if formTypes == none) = formType filter is ignored completely, get all forms regardless of type that match (or contain) sFormName.


Parameters

  1. stringsFormName

  2. intnameMatchMode=0

  3. int[]formTypes=NONE

  4. intformTypeMatchMode=1


Examples

Auto-Generated Example

string myString__sFormName
int myInt__nameMatchMode
int[] myIntArray__formTypes
int myInt__formTypeMatchMode

Form[] returnedValue = DbSkseFunctions.GetAllFormsWithName(myString__sFormName, myInt__nameMatchMode, myIntArray__formTypes, myInt__formTypeMatchMode)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.