MichikoUnknownFox Posted May 20, 2012 Share Posted May 20, 2012 Hay guise. I'm trying to follow this tutorial on detecting keypresses, but whenever I try to run the game with my new script, nothing happens. I've never done a mod that had to detect a keypress before so this is somewhat of a boggler for me. What I'm trying to do is make the mod do something (specifically, add an item to the player's inventory) whenever a certain key is pressed. I may have misunderstood quite a few things from the above tutorial, hence no effect is visible in-game. First off, what kind of script should it be (object, quest, effect)? Do I need to attach this kind of script to anything, like a token or a quest that's always running? Also, how do I make it so that I get the FOSE style "Press a key after clicking OK" kind of interface? I'm running GECK and the game through FOSE. I figured out how to get the message box up but I don't know how to make the game store the next key pressed into a global. Thanks in advance. :) Link to comment Share on other sites More sharing options...
Recommended Posts