Difference between revisions of "Talk:DisableKey"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Timeslip
(functions which work on a disabled key)
imported>DragoonWraith
(thanks Timeslip!)
Line 11: Line 11:
::*HoldKey and HammerKey will not work, but will take effect immediately if you use EnableKey before ReleaseKey/UnhammerKey
::*HoldKey and HammerKey will not work, but will take effect immediately if you use EnableKey before ReleaseKey/UnhammerKey
:: [[User:Timeslip|Timeslip]] 13:24, 14 August 2006 (EDT)
:: [[User:Timeslip|Timeslip]] 13:24, 14 August 2006 (EDT)
:::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 23:22, 14 August 2006 (EDT): Thanks Timeslip! I'll update the article accordingly.

Revision as of 22:22, 14 August 2006

Does DisableKey just disable the controls for the player or does it also disable the TapKey function? --Mandrill 06:33, 14 August 2006 (EDT)

Dragoon Wraith TALK 11:29, 14 August 2006 (EDT): Just the controls for the player, I believe.
Pretty sure IsKeyPressed will still work, too. Could be wrong, though.
Guess I should answer this one. If a key is disabled by DisableKey:
  • IsKeyPressed will work normally
  • TapKey will work normally
  • IsKeyPressed2 will always return 0, unless TapKey was used the previous frame
  • HoldKey and HammerKey will not work, but will take effect immediately if you use EnableKey before ReleaseKey/UnhammerKey
Timeslip 13:24, 14 August 2006 (EDT)
Dragoon Wraith TALK 23:22, 14 August 2006 (EDT): Thanks Timeslip! I'll update the article accordingly.