GetNumKeywords - Form

From Creation Kit
Jump to: navigation, search

SKSE Member of: Form Script

Returns the number of keywords assigned to this form. (This function requires SKSE)

Syntax

int Function GetNumKeywords() native

Parameters

None

Return Value

Returns the number of keywords assigned to this form, or 0 if the form cannot contain keywords (eg Quests).

Examples

;count the number of keywords assigned to us
int KeywordCount = GetNumKeywords()

Notes

Doesn't work for spells or enchantments, get the magic effect first then the keywords of each magic effect instead.

See Also