Praveen Posted July 2, 2012 Share Posted July 2, 2012 I have trouble getting this work in game import Input Event OnInit()RegisterForSingleUpdate(0.1)EndEvent Event OnUpdate() if (IsKeyPressed(0x58)) Debug.MessageBox("weapons are added.") Stop() else RegisterForSingleUpdate(0.1) endif EndEvent The script compiles with no errors but not working in game , please help Link to comment Share on other sites More sharing options...
J3X Posted July 2, 2012 Share Posted July 2, 2012 Make sure SKSE is running. Link to comment Share on other sites More sharing options...
Praveen Posted July 2, 2012 Author Share Posted July 2, 2012 Yes SKSE is running but nothing happens Link to comment Share on other sites More sharing options...
simsam Posted February 9, 2013 Share Posted February 9, 2013 are you using a gamepad?onkeypress works for the keyboard only, at the moment at least :( Link to comment Share on other sites More sharing options...
scrivener07 Posted February 9, 2013 Share Posted February 9, 2013 event Oninit()http://www.creationkit.com/RegisterForKey_-_Formendevent event OnKeyDown()http://www.creationkit.com/OnKeyDown_-_Formhttp://www.creationkit.com/UnregisterForKey_-_Formendevent Link to comment Share on other sites More sharing options...
Recommended Posts