tesprogrammer Posted August 6, 2012 Share Posted August 6, 2012 (edited) I'd like to know if any of you guys know how to code hotkeys for Skyrim's programming language. It would be like this:while the player is pressing, for example the key |H| from the keyboard, this key activates a function/call a script. Similar to thiscode in C# (the key |H| enters in a toggle state (pressed once, do something, pressed again do other thing and after that clear the togglestate to support the first one;))Hotkey hk = new Hotkey(); hk.KeyCode = Keys.1; hk.Windows = true; hk.Pressed += delegate { Console.WriteLine("Windows+1 pressed!"); }; hk.Register(myForm);Modders did this in mods for fallout 3 like Mothership zeta crew and CUBE experimental project, and I's like to know if this is possible.I'm really stuck with the mod update because I need this command :wacko: Edited December 6, 2013 by tesprogrammer Link to comment Share on other sites More sharing options...
tesprogrammer Posted December 6, 2013 Author Share Posted December 6, 2013 Nevermind, already solved Link to comment Share on other sites More sharing options...
Recommended Posts