GetNthKeyword - Form

Revision as of 04:29, 10 May 2012 by imported>Fg109
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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