Mod to hotkey console commands?

Post » Sun Jul 01, 2012 7:30 pm

I want to hotkey the console command:

Toggle Menu

Is there a way for me to do this?
User avatar
Enie van Bied
 
Posts: 3350
Joined: Sun Apr 22, 2007 11:47 pm

Post » Sun Jul 01, 2012 9:15 pm

No console necessary as Papyrus has that covered.
ScriptName ToggleMenuHotkeyScript extends QuestInt iToggleMenuKey = #Bool bIsToggleMenuKeyPressedEvent OnInit()	RegisterForSingleUpdate(0.5)EndEventEvent OnUpdate()	If bIsToggleMenuKeyPressed != Input.IsKeyPressed(iToggleMenuKey)		bIsToggleMenuKeyPressed = !bIsToggleMenuKeyPressed		If bIsToggleMenuKeyPressed			Debug.ToggleMenus()		EndIf	EndIf	RegisterForSingleUpdate(0.5)EndEvent

http://www.mediafire.com/?buuozrmxg2337il <-- Requires SKSE
User avatar
Farrah Lee
 
Posts: 3488
Joined: Fri Aug 17, 2007 10:32 pm


Return to V - Skyrim