HoldKey

From GECK

A function added by the Fallout Script Extender.

Description

Fakes a key press (specified by int code) indefinitely, or until ReleaseKey is called.

Syntax

(none) HoldKey scanCode:int 

Or:

(none) hk scanCode:int

Example

HoldKey 31 ; 'S' key
; ...
; later, after a delay 
ReleaseKey 31

See Also

Personal tools