GetNthKeyword - Form

SKSE Member of: Form Script

Returns the Nth keyword assigned to this form. (This function requires SKSE)

SyntaxEdit

Keyword Function GetNthKeyword(int index) native

ParametersEdit

  • index: which keyword to get. 0 will return the first, 1 the second, etc.

Return ValueEdit

Returns the Nth keyword assigned to this form.

ExamplesEdit

;;;
Keyword[] Property StoredKeywords Auto

Function StoreKeywordsOf(Form MyForm)
	int Count = MyForm.GetNumKeywords()
	int index
	while (index < Count)
		StoredKeywords[index] = MyForm.GetNthKeyword(index)
		index += 1
	endwhile
EndFunction

See AlsoEdit