Patzifist Posted July 13, 2014 Share Posted July 13, 2014 (edited) Begin GameMode____if IsKeyPressed 49 == 1________Player.EquipItem ThermalVisionMisc____endifEnd ---------------------------------------------------------------------------- short bIsNPressed Begin GameMode____if bIsNPressed != IsKeyPressed 49________set bIsNPressed to IsKeyPressed 49________if bIsNPressed____________Player.EquipItem ThermalVisionMisc________endif____endifEnd ---------------------------------------------------------------------------- Hello, could anybody tell my whats wrong with the two scripts above? I want my New Vegas to constantly check whether the button 'N' is pressed, so I use a quest with 'Start game enabled' that activates a script; but it seems like i have to hold it for up to 10 seconds till the 'Player.EquipItem ThermalVisionMisc' command works (no matter which one of the scripts I use). I just don't get why this problem occurs and I hope somebody could explain the mistake to me :smile: Thanks to everyone trying to help,Patzifist Edited July 13, 2014 by Patzifist Link to comment Share on other sites More sharing options...
JJ2198 Posted July 13, 2014 Share Posted July 13, 2014 Both scripts work fine, does it take ten seconds if you do a vanilla item? Link to comment Share on other sites More sharing options...
Patzifist Posted July 13, 2014 Author Share Posted July 13, 2014 (edited) Even with 'Player.EquipItem Stimpak' it takes a little time.Maybe there is something about the quest which starts the script I don't know about? :/ Edited July 13, 2014 by Patzifist Link to comment Share on other sites More sharing options...
JJ2198 Posted July 13, 2014 Share Posted July 13, 2014 (edited) That would be it, if you have it attached to a quest you most likely have the default "Script Processing Delay" which is five seconds. So uncheck it and set it to .1 or something smaller. Edited July 13, 2014 by JJ2198 Link to comment Share on other sites More sharing options...
Patzifist Posted July 14, 2014 Author Share Posted July 14, 2014 That would be it, if you have it attached to a quest you most likely have the default "Script Processing Delay" which is five seconds. So uncheck it and set it to .1 or something smaller.Oh my god, FINALLY!!! Dude, I love you <3 Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted July 15, 2014 Share Posted July 15, 2014 Also the site has [code][/code]tags that you can use, which are much better than using underscores to get spacing. Link to comment Share on other sites More sharing options...
Recommended Posts