Background for Skyrim SE
Member of the Form script
KeywordfunctionGetNthKeyword(intindex)Native

Description

Wiki Description

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

Documentation Comment

returns the keyword at the specified index


Caveats


Parameters

intindex

CK Wiki Description

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


Examples

;;;
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

Auto-Generated Example

int myInt__index

Keyword returnedValue = myForm__toCallFunctionOn.GetNthKeyword(myInt__index)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.