Background for Fallout 4
Member of the Form script
boolfunctionHasKeyword(KeywordakKeyword)Native

Description

Wiki Description

Checks to see if the specified keyword is attached to this form.

Documentation Comment

Returns if this form has the specified keyword attached


Caveats


Parameters

KeywordakKeyword

CK Wiki Description

The Keyword to query for.


Examples

; Does this object have a doom keyword?
if (NiceSwordProperty.HasKeyword(DoomKeywordProperty))
  Debug.Trace("The nice sword is a doom sword")
endIf

Auto-Generated Example

Keyword myKeyword__akKeyword

bool returnedValue = myForm__toCallFunctionOn.HasKeyword(myKeyword__akKeyword)

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.