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)
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.