GetNumKeywords - Form

From the CreationKit Wiki
Revision as of 17:52, 16 September 2016 by imported>FrankFamily
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

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, get the magic effect first then the keywords of each magic effect instead.

See Also