Background for Skyrim SE
Member of the DbSkseFunctions script
Form[]functionGetAllFormsWithScriptAttached(stringsScriptName, int[]formTypes=NONE, intformTypeMatchMode=0)NativeGlobal

Description

Documentation Comment

formTypeMatchMode 1 = forms that have a type in formTypes.
formTypeMatchMode 0 = forms that do not have a type in formTypes.
formTypeMatchMode -1 (or if formTypes == none) = formType filter is ignored completely, get all forms regardless of type that have the script with sScriptName attached


Caveats


Parameters

stringsScriptName

int[]formTypes=NONE

intformTypeMatchMode=0


Examples

Auto-Generated Example

string myString__sScriptName
int[] myIntArray__formTypes
int myInt__formTypeMatchMode

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