Background for Skyrim SE
Member of the SPE_Form script
boolfunctionFormHasKeywords(FormakForm, Keyword[]akKeywords, boolabContainAll)NativeGlobal

Description

Documentation Comment

Check if the given form has any (or all) of the given keywords
If abPartialMatch, will return true if any of the strings in asKeywords is a substring of the form's keywords (e.g. ["ActorType"] would match "ActorTypeNPC")


Caveats


Parameters

FormakForm

Keyword[]akKeywords

boolabContainAll


Examples

Auto-Generated Example

Form myForm__akForm
Keyword[] myKeywordArray__akKeywords
bool myBool__abContainAll

bool returnedValue = SPE_Form.FormHasKeywords(myForm__akForm, myKeywordArray__akKeywords, myBool__abContainAll)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.