Hi, Well...I'm not sure. Try this: If(key_down(KEY_LMENU)) { If(key_down(KEY_F4)) //do something }
Best Regards, Hayden -----Original Message----- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of Kai Sent: Sunday, January 02, 2011 8:14 PM To: Gamers Discussion list Subject: Re: [Audyssey] BGT Key_down and Key_Pressed Incompitability Greetings Liam. I actually just edited the function to look for a key pressed event with escape. Was simpler than having a two-step check. I have JAWS set to sleep with BGT.exe, so that shouldn't be an issue, but it persists with JAWS completely unloaded. This is definitely a workable workaround, but I'm curious if there's a solution to make this line actually work: if((key_down(KEY_LMENU))&&(key_pressed(KEY_F4))) Kai ----- Original Message ----- From: "Liam Erven" <liamer...@gmail.com> To: "'Gamers Discussion list'" <gamers@audyssey.org> Sent: Sunday, January 02, 2011 5:51 PM Subject: Re: [Audyssey] BGT Key_down and Key_Pressed Incompitability > It has to do with direct input > What I usually do is change that to look for escape instead of alt f4, > then > I hold down shift and press escape. It is much easier if you don't use > jaws, but of course this isn't always an options. > > -----Original Message----- > From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On > Behalf Of Kai > Sent: Sunday, January 02, 2011 7:48 PM > To: Gamers Discussion list > Subject: [Audyssey] BGT Key_down and Key_Pressed Incompitability > > greetings Philip et al. > > For some reason, the Key_down and Key_pressed functions won't seem to work > together on my system. For example, many of the tutorials terminate the > example with left alt+f4, but whenever I hit that key combination, nothing > happens. I can change the function to just a key pressed event and it'll > work fine, but the key down event plus the key pressed event refuses to > cooperate. anyone else having this issue or a solution thereof? > > Kai > > > --- > Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, > send E-mail to gamers-unsubscr...@audyssey.org. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/gamers@audyssey.org. > If you have any questions or concerns regarding the management of the > list, > please send E-mail to gamers-ow...@audyssey.org. > > > --- > Gamers mailing list __ Gamers@audyssey.org > If you want to leave the list, send E-mail to > gamers-unsubscr...@audyssey.org. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/gamers@audyssey.org. > If you have any questions or concerns regarding the management of the > list, > please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gamers@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gamers@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.