NaimaR Posted June 17, 2012 Share Posted June 17, 2012 Hi all. I'm looking for a way to toggle an effect* via a keypress.I've downloaded and installed NVSE, as I heard it was required to support custom keypress actions, but I'm not sure where to go from here.Any assistance would be appreciated. :) (*Specifically, I want to create a perk which gives you the ability to heal 10 health per second, at the cost of 5 rads per second, as a toggle.) Link to comment Share on other sites More sharing options...
betto212 Posted June 17, 2012 Share Posted June 17, 2012 Hi all. I'm looking for a way to toggle an effect* via a keypress.I've downloaded and installed NVSE, as I heard it was required to support custom keypress actions, but I'm not sure where to go from here.Any assistance would be appreciated. :) (*Specifically, I want to create a perk which gives you the ability to heal 10 health per second, at the cost of 5 rads per second, as a toggle.) there is a good tutorialhttp://www.cipscis.com/fallout/tutorials/detecting_keypresses.aspx Link to comment Share on other sites More sharing options...
NaimaR Posted June 18, 2012 Author Share Posted June 18, 2012 Hm, that looks quite a bit more complicated than I thought it would be.Well, thanks anyway. Link to comment Share on other sites More sharing options...
Demeggy Posted June 18, 2012 Share Posted June 18, 2012 (edited) Hm, that looks quite a bit more complicated than I thought it would be.Well, thanks anyway. Edit: if GetKeyPress == XX (you'll have to find the code of the key in question) do whatever you want it to do endif Because I'm such a nice guy, have a cup of tea and a biscuit :thumbsup: Edited June 18, 2012 by Demeggy Link to comment Share on other sites More sharing options...
NaimaR Posted June 19, 2012 Author Share Posted June 19, 2012 Edit: if GetKeyPress == XX (you'll have to find the code of the key in question) do whatever you want it to do endif Because I'm such a nice guy, have a cup of tea and a biscuit :thumbsup:Wow. Well, that is quite simple afterall. I should be able to do something with that.Thank you so much. :) I would have PM'd you instead of bumping the thread, but you have PM's disabled, apparently? Link to comment Share on other sites More sharing options...
Demeggy Posted June 20, 2012 Share Posted June 20, 2012 Edit: if GetKeyPress == XX (you'll have to find the code of the key in question) do whatever you want it to do endif Because I'm such a nice guy, have a cup of tea and a biscuit :thumbsup:Wow. Well, that is quite simple afterall. I should be able to do something with that.Thank you so much. :) I would have PM'd you instead of bumping the thread, but you have PM's disabled, apparently? No probs, I guess I do? I don't come on that often these days, just when I'm feeling charitable or needy, lol Link to comment Share on other sites More sharing options...
Recommended Posts