HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Holding a button down...

08-22-2002, 03:44 AM#1
Guest
is it possible for a trigger to recognize that a button is being held down??? Like, if I were to hold the spacebar down for a few seconds, some event would happen.

Also, is there a trigger that will recognize when you click the mouse(Not on a unit, but anywhere)?????

Thanks in advance

-isyiwang
08-25-2002, 12:26 PM#2
Guest
That's a key, not a button.

And I doubt detecting key-strokes is possible. It might be possible to check the effect of the key-stroke having happend.
Ex: you can detect wether the abort cinematic key has been hit, which equals ESC. It might be possible to do the same with custom text.