Background for Skyrim SE
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

CK Wiki - Notes

  • If run on a Spell, this function checks all attached magic effects, and returns true if at least one magic effect has a specified keyword.
  • If run on an Ingredient or a Potion, this function does not checks attached magic effects, only the record itself.

Parameters

  1. KeywordakKeyword

    CK Wiki Description

    The Keyword to query for.


Examples

No human-generated examples found for this function.

Auto-Generated Example

Keyword myKeyword__akKeyword

bool returnedValue = myForm__toCallFunctionOn.HasKeyword(myKeyword__akKeyword)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.