IsControlPressed
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns 1 if the key or mouse button assigned to a control is pressed
Syntax
(int) IsControlPressed controlCode:int
Notes:
Control Codes:
0: Forward 1: Backward 2: Left 3: Right 4: Attack 5: Activate 6: Block/Aim 7: Ready Item 8: Crouch 9: Run 10: Always Run 11: Auto-Move 12: Jump 13: TogglePOV 14: MenuMode 15: Rest 16: VATS 17-24: Hotkeys 1-8 25: Quicksave 26: Quickload 27: Grab