Talk:IsControlPressed
Revision as of 09:56, 18 September 2008 by imported>Haama (→Detecting the second control pressed ?: formatting)
Detecting the second control pressed ?
How do I detect if a second control was pressed ( not held down ) when detecting the 1st control pressed , i.e., I'm holding down the grab key and I want to check if the activate key was pressed during that time, when I was holding the grab key ... -- shademe 08:19, 18 September 2008 (EDT)
if ( IsControlPressed 28 ) if ( OnControlDown 5 ) ;code goes here endif endif
- Dragoon Wraith TALK 08:43, 18 September 2008 (EDT)
- Thanks for the quick reply ! But that didn't work :( Tried that before - that clause didn't activate when I pressed the activate key. Think how fast the script runs has something to do with this ? I'm right now running this in a quest script, DelayTime = 0.001, almost once every frame...
- -- shademe 08:55, 18 September 2008 (EDT)