Difference between revisions of "Key input"
no edit summary
imported>Antares |
imported>DragoonWraith |
||
Line 47: | Line 47: | ||
:So, As I understand it, this script will detect "switching" inside a 2 second time frame? I am trying to use a timer in a script of my own and am having little luck, just trying to amass as much information as I can and hopefully I will figure it out. I also posted on the [[GetSecondsPassed]] Page if it is more appropriate to reply there. | :So, As I understand it, this script will detect "switching" inside a 2 second time frame? I am trying to use a timer in a script of my own and am having little luck, just trying to amass as much information as I can and hopefully I will figure it out. I also posted on the [[GetSecondsPassed]] Page if it is more appropriate to reply there. | ||
::--[[User:Antares|Antares]] 10:16, 4 September 2008 (EDT) | ::--[[User:Antares|Antares]] 10:16, 4 September 2008 (EDT) | ||
:::The script detects when the player rapidly presses the Sneak key, releases it, and presses and releases it again in quick succession, namely two seconds in this case. The timer is there to undo the counts if more than two seconds go by, because you want to make sure the player intended to double-tap the key and not actually just sneak. | |||
:::As the header thing says, however, OBSE would be a much better system for getting key input. | |||
:::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 17:28, 4 September 2008 (EDT) |