HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Konami code in triggers?

09-20-2007, 08:26 PM#1
HalfSlothNCamel
I am trying to add the Konami code into a map and am having trouble on how to do it. How do I make a trigger check for multiple events before making the action? For example a player entering up, up, down, down, left, right, left, right to make an effect. Is there also a way to change the keyboard event to react to a button press other than the arrow keys?
09-20-2007, 08:48 PM#2
Alexander244
  • Use arrays to store players last X keypresses, then check them when the player presses a key.
  • Esc, otherwise no.
09-21-2007, 02:38 AM#3
Vexorian
I wouldn't use keypreses since they are glitchy on multiplayer.

You can try some sequence of unit moves, I dunno
09-21-2007, 02:40 AM#4
Pyrogasm
Can't you detect specific key presses in Dialogs?
09-21-2007, 03:55 AM#5
botanic
the arrow keys and the esc key are the only ones you can detect... it COULD be possible to detect the numpad by using items but i wouldn't recommend it