Background for Skyrim SE
Member of the SPE_Utility script
Form[]functionFilterFormsByKeyword(Form[]akForm, Keyword[]akKeywords, boolabMatchAll, boolabInvert)NativeGlobal

Description

Documentation Comment

Remove any form that does not contain any of the given keywords
if abMatchAll is true, only forms that contain all keywords are returned
if abInvert is true, only forms that do not contain any of the keywords are returned


Caveats


Parameters

Form[]akForm

Keyword[]akKeywords

boolabMatchAll

boolabInvert


Examples

Auto-Generated Example

Form[] myFormArray__akForm
Keyword[] myKeywordArray__akKeywords
bool myBool__abMatchAll
bool myBool__abInvert

Form[] returnedValue = SPE_Utility.FilterFormsByKeyword(myFormArray__akForm, myKeywordArray__akKeywords, myBool__abMatchAll, myBool__abInvert)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.