redditor
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 182 |
|
|
| 17 Jun 2012 09:42 PM |
| While many keydown functions for keys like o, i, \, ,, ., etc. are disabled, the keyup functions are still available. This includes the top row number keys. |
|
|
| Report Abuse |
|
|
slayer219
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 3445 |
|
|
| 17 Jun 2012 09:43 PM |
| Hmmm that is interesting. Do they not even work with string.byte()? Haven't actually tried. |
|
|
| Report Abuse |
|
|
redditor
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 182 |
|
|
| 17 Jun 2012 10:15 PM |
The keydown events don't even fire. String.byte() will work perfectly fine with all keyUp events. |
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 17 Jun 2012 10:41 PM |
| That's useful, especially the top row number keys one. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 17 Jun 2012 11:03 PM |
Probably because Roblox only hooks the KeyDown event, not the KeyUp one. Very useful.
-Jode |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 17 Jun 2012 11:04 PM |
| Now if only that worked the same with Button2Up. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
| |
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 17 Jun 2012 11:16 PM |
"cold mold"
Really? I hadn't even noticed that one. |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 17 Jun 2012 11:37 PM |
@stravant
These types only say it to be condescending. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Jun 2012 11:50 PM |
| I've known about this for a long time. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Jun 2012 11:52 PM |
"These types only say it to be condescending." What are you talking about? This has been known for awhile. I actually posted a thread asking about alternatives and was told by cymru that .KeyUp is the only way to detect when reserved keys are used. This was a year and a half ago. Cold mold. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Jun 2012 11:58 PM |
"These types" And just curious, because you know me all so well. What "type" am I? |
|
|
| Report Abuse |
|
|
HotThoth
|
  |
 |
| Joined: 24 Aug 2010 |
| Total Posts: 1176 |
|
|
| 18 Jun 2012 01:07 PM |
| ^ The type who posts 3 times before getting a response :P. But yeah, I actually didn't know this either; I thought we hooked both KeyDown and KeyUp events for all the "forbidden keys". |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 18 Jun 2012 01:10 PM |
They have actually never been hooked.
I've used KeyUp for no-character strategy games before, back in 09. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 18 Jun 2012 01:32 PM |
@HotThoth
Well, don't remove it, Sorcus and I are using it for stuff. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 18 Jun 2012 02:49 PM |
Feel like I've spammed for nothing D:.
Stravent, sounds devious. What is it you guys are thinking about using it for? |
|
|
| Report Abuse |
|
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 18 Jun 2012 02:58 PM |
I'm hoping that none of the keys I plan to use will be locked.
z,x,c,v,b,n,m
Or the bottom row of the Qwerty keyboard. I plan on using them as hotkeys to a GUI related feature in an RPG I am eventually going to make.
"APN Forever, Long Live Its Eternal Glory!" |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 18 Jun 2012 03:11 PM |
@Sun On the top keyboard, I and O are both locked for KeyDown. Not KeyUp though.
-Jode |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 18 Jun 2012 03:16 PM |
| Pretty sure the number keys are reserved too (for hopperbins/tools) |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 18 Jun 2012 03:20 PM |
@Nate I'm pretty sure they will fire as long as there is no tool assigned to that number. :P
-Jode |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 18 Jun 2012 03:21 PM |
| Don't think so... Though I can't remember. Last time I tested is when I asked for a method that allows reserved keys to fire when used. |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 18 Jun 2012 04:18 PM |
Is escape enabled?
I might use it as pause if I decide to make a laser fps. |
|
|
| Report Abuse |
|
|
|
| 18 Jun 2012 04:28 PM |
ESC is reserved for the CoreGUI menu.
~>dat siggy<~ |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
| |
|
|
| 18 Jun 2012 04:56 PM |
And IDK why they reserved the Start/Winkey button.
I like accessing my Start menu! /whine
~>dat siggy<~ |
|
|
| Report Abuse |
|
|