GetKeyName

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the name of the key specified by its DirectInput scan code number. Added by NVSE 4.1.

Syntax

[help]
(string) GetKeyName KeyCode:int

Example

string_var key_name

let key_name := GetKeyName 45 ; 'X' 

See Also