Background for Skyrim SE
Member of the DbMiscFunctions script
stringfunctionGetKeyCodeString(intkeyCode, stringsFilePath="ata/interface/DbMiscFunctions/DbKeyCodeStrings.txt")Global

Description

Documentation Comment

requires skse and papyrusUtil. Get the string for keycode.
Exampe: GetKeyCodeString(28) returns "Enter"
can specify another file other than "Data/interface/DbKeyCodeStrings.txt" if desired


Caveats


Parameters

intkeyCode

stringsFilePath="ata/interface/DbMiscFunctions/DbKeyCodeStrings.txt"


Examples

Auto-Generated Example

int myInt__keyCode
string myString__sFilePath

string returnedValue = DbMiscFunctions.GetKeyCodeString(myInt__keyCode, myString__sFilePath)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.