GetKeyName

Revision as of 11:19, 14 August 2014 by imported>Odessa (Created. source OBSE docs, me)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

(string) GetKeyName KeyCode:int

Example

string_var key_name

let key_name := GetKeyName 45 ; 'X' 

See Also