SetControl
This article has been added to the Wiki by CSbot, an automated WikiBot. If you notice anything wrong with this page, please notify DragoonWraith, this bot's operator, by adding a comment to the end of User talk:DragoonWraith. If this article seems to be correct, then you can help the Wiki by removing this message, by editing this page and deleting the {{BotAddedPage}} template from the top of it. Thank you.
A function added by the Oblivion Script Extender.
Syntax:
(void) SetControl whichControl:short dxScanCode:long
Assigns a new key to the specified control. If the specified control already has a key assigned, the key mappings are swapped.
Input Control Codes
The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed control:
0 Forward 1 Back 2 Slide Left 3 Slide Right 4 Use 5 Activate 6 Block 7 Cast 8 Ready Item 9 Crouch/Sneak 10 Run 11 Always Run 12 Auto Move 13 Jump 14 Toggle POV 15 Menu Mode 16 Rest 17 Quick Menu 18 Quick1 19 Quick2 20 Quick3 21 Quick4 22 Quick5 23 Quick6 24 Quick7 25 Quick8 26 QuickSave 27 QuickLoad 28 Grab