GetNumKeywords - Form
Jump to navigation
Jump to search
SKSE Member of: Form Script
Returns the number of keywords assigned to this form. (This function requires SKSE)
Syntax[edit | edit source]
int Function GetNumKeywords() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
Returns the number of keywords assigned to this form, or 0 if the form cannot contain keywords (eg Quests).
Examples[edit | edit source]
;count the number of keywords assigned to us
int KeywordCount = GetNumKeywords()
Notes[edit | edit source]
Doesn't work for spells or enchantments, get the magic effect first then the keywords of each magic effect instead.