Difference between revisions of "GetControl"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-'''.*'''\r\n +)) |
imported>Odessa (clarified/expanded) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
|summary = Returns the key assigned to a control | |summary = Returns the key (as its [[IsKeyPressed|int code]]) assigned to a control, specified by it's [[TapControl|int code]]. | ||
|name = GetControl | |name = GetControl | ||
|returnType = int | |returnType = KeyCode:int | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
Line 10: | Line 10: | ||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
int iPOVKey | |||
set iPOVKey to GetControl 13 | |||
</pre> | |||
==See Also== | |||
*[[TapControl]] | |||
*[[IsKeyPressed]] | |||
*[[TapKey]] | |||
*[[HoldKey]] | |||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] |
Latest revision as of 05:45, 16 January 2015
< [[::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
(KeyCode:int) GetControl controlCode:int
Example
int iPOVKey set iPOVKey to GetControl 13