GetControl

From the Fallout3 GECK Wiki
Revision as of 06:45, 16 January 2015 by imported>Odessa (clarified/expanded)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the key (as its int code) assigned to a control, specified by it's int code.

Syntax

[help]
(KeyCode:int) GetControl controlCode:int

Example

int iPOVKey
set iPOVKey to GetControl 13

See Also