Background for Skyrim SE
Member of the DbMiscFunctions script
boolfunctionFormHasKeywordInJsonUtilList(FormakForm, stringJsonFilePath, stringListKeyName, boolAllKeywords=false)Global

Description

Documentation Comment

If AllKeywords == false (default) returns true if the akForm has any keyword in the JsonUtil Form list.
If allKeywords == true, only returns true if the akForm has all keywords in the List.
Requires skse and PapyrusUtil


Caveats


Parameters

FormakForm

stringJsonFilePath

stringListKeyName

boolAllKeywords=false


Examples

Auto-Generated Example

Form myForm__akForm
string myString__JsonFilePath
string myString__ListKeyName
bool myBool__AllKeywords

bool returnedValue = DbMiscFunctions.FormHasKeywordInJsonUtilList(myForm__akForm, myString__JsonFilePath, myString__ListKeyName, myBool__AllKeywords)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.