Background for Fallout 4
Member of the Form script
boolfunctionHasKeywordInFormList(FormListakKeywordList)Native

Description

Wiki Description

Checks to see if any of the keywords in the form list is attached to this form. If the form list contains no keywords, returns false.

Documentation Comment

Returns if this form has any of the keywords in the list attached


Caveats


Parameters

FormListakKeywordList

CK Wiki Description

The FormList of Keyword to query for.


Examples

; Does this object have any of the explosive keywords?
if (Dynamite.HasKeywordInFormList(ExplosiveKeywords))
  Debug.Trace("The dynamite is explosive!")
endIf

Auto-Generated Example

FormList myFormList__akKeywordList

bool returnedValue = myForm__toCallFunctionOn.HasKeywordInFormList(myFormList__akKeywordList)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.