Difference between revisions of "TapKey"

From GECK

m (Robot: Automated text replacement (-'''.*'''\r\n +))
(expanded)
 
Line 1: Line 1:
 
{{Function
 
{{Function
 
  |origin = FOSE1
 
  |origin = FOSE1
  |summary = Fakes a key press for one frame
+
  |summary = Fakes the key press specified by [[IsKeyPressed|int scancode]] for one frame.
 
  |name = TapKey
 
  |name = TapKey
 
  |alias = tk
 
  |alias = tk
Line 11: Line 11:
 
   }}
 
   }}
 
}}
 
}}
 +
==Example==
 +
<pre>
 +
TapKey 20
 +
</pre>
 +
==See Also==
 +
*[[IsKeyPressed]]
 +
*[[GetKeyPress]]
 +
*[[HoldKey]]
 +
*[[Con_CloseAllMenus]]
 +
*[[WakeUpPC]]
 
[[Category:Functions_(FOSE)]]
 
[[Category:Functions_(FOSE)]]

Latest revision as of 06:43, 6 August 2014

A function added by the Fallout Script Extender.

Description

Fakes the key press specified by int scancode for one frame.

Syntax

TapKey scanCode:int 

Or:

tk scanCode:int

Example

TapKey 20

See Also

Personal tools