![]() |
Hot keys - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Hot keys (/showthread.php?tid=2064) |
Hot keys - Doomy - 07-09-2008 where would i find the code so if i press lets say f1 a window will open on the game client also anyone know what it is to specify an npc number and another player ? is it npc.number? Re: Hot keys - Nean - 07-09-2008 I'm not completely sure, but try studying the Keypress sub. Code: Private Sub txtChat_KeyPress(KeyAscii As Integer) That runs when enter is pushed. Uhm. Hope that helps any. Re: Hot keys - Doomy - 07-09-2008 thx i didnt know what the sub name was i was searching the whole source i must have skiped over it Re: Hot keys - Doomy - 07-09-2008 If KeyAscii = vbKeyReturn Then just to be clear i change that to what key i want right? also i do f1 right? thats what f keys are called Re: Hot keys - Kousaten - 07-09-2008 Right, doom. As for Npc's number, try NpcNum. You can work from there to learn how it works. ![]() Re: Hot keys - Doomy - 07-09-2008 Dave Wrote:took me 1/2 secondthx man this is really going to help me out |