HoldKey
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
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