Mod:Creation Kit/HasKeywordInFormList - Form

Member of: Mod:Creation Kit/Form Script

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.

Syntax
bool Function HasKeywordInFormList(FormList akKeywordList) native

Parameters

 * akKeywordList: The FormList of keywords to query for.

Return Value
Whether this form has any of the specified keywords or not. If the form doesn't support keywords, it will always return false.

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