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

Description

Wiki Description

Checks to see if any of the keywords in the form list is attached to this reference. If the form list contains no keywords, returns false. This basically operates the same way as Form.HasKeywordInFormList(...), but can be run on inventory objects.

Documentation Comment

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


Parameters

  1. 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 = myObjectReference__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.