float fQuestDelayTimeshort curkeybegin MenuMode 1014 if (fQuestDelayTime == 0) set fQuestDelayTime to 0.01 endif if ( curKey && isKeyPressed3 curkey ) ; key still being held down return ; wait until it's released else set curkey to 0 endif if ( isKeyPressed3 30 ) ClickMenuButton "#5" 1014 set curKey to 30 endifend
Unfortunately, it has no effect. I confirmed that the code does get processed (using debug text outputs), but pressing the A key (30) does nothing. This code works great on containers, just not on the lockpicking menu.
Anyone know why?
My only idea is that this is a minigame, not a menu. Not sure if that makes a diff.