GetNumKeywords - Form
Revision as of 15:00, 2 September 2018 by imported>BusinessGoose
SKSE Member of: Form Script
Returns the number of keywords assigned to this form. (This function requires SKSE)
SyntaxEdit
int Function GetNumKeywords() native
ParametersEdit
None
Return ValueEdit
Returns the number of keywords assigned to this form, or 0 if the form cannot contain keywords (eg Quests).
ExamplesEdit
;count the number of keywords assigned to us
int KeywordCount = GetNumKeywords()
NotesEdit
Doesn't work for spells or enchantments, get the magic effect first then the keywords of each magic effect instead.