Post subject: EUDs - Discussion and Detecting Key Presses

Posted: Sun Sep 20, 2009 5:38 pm

Site Admin - Hyperion Captain

Joined: Sat May 23, 2009 9:51 am Posts: 218 Location: Toronto, Canada

So yeah. Pretty self-explanatory. These Conditions allow you to detect what key a person presses. Due to the nature of key detection, this can only be used in singleplayer maps. Requires SCMDraft 2.

W Player 7 has suffered exactly 16777216 deaths of ID:1061.

S Player 6 has suffered exactly 16777216 deaths of ID:1061.

O Player 5 has suffered exactly 16777216 deaths of ID:1061.

K Player 4 has suffered exactly 16777216 deaths of ID:1061.

G Player 3 has suffered exactly 16777216 deaths of ID:1061.

C Player 2 has suffered exactly 16777216 deaths of ID:1061.

7 Player 11 has suffered exactly 16777216 deaths of ID:1060.

3 Player 10 has suffered exactly 16777216 deaths of ID:1060.

Right Arrow Player 7 has suffered exactly 16777216 deaths of ID:1060.

End Player 6 has suffered exactly 16777216 deaths of ID:1060.

Esc Player 4 has suffered exactly 16777216 deaths of ID:1060.

Z Player 8 has suffered exactly 65536 deaths of ID:1061.

V Player 7 has suffered exactly 65536 deaths of ID:1061.

R Player 6 has suffered exactly 65536 deaths of ID:1061.

N Player 5 has suffered exactly 65536 deaths of ID:1061.

J Player 4 has suffered exactly 65536 deaths of ID:1061.

F Player 3 has suffered exactly 65536 deaths of ID:1061.

B Player 2 has suffered exactly 65536 deaths of ID:1061.

6 Player 11 has suffered exactly 65536 deaths of ID:1060.

2 Player 10 has suffered exactly 65536 deaths of ID:1060.

Delete Player 9 has suffered exactly 65536 deaths of ID:1060.

Up Arrow Player 7 has suffered exactly 65536 deaths of ID:1060.

Page Down Player 6 has suffered exactly 65536 deaths of ID:1060.

Alt Player 2 has suffered exactly 65536 deaths of ID:1060.

Y Player 8 has suffered exactly 256 deaths of ID:1061.

U Player 7 has suffered exactly 256 deaths of ID:1061.

Q Player 6 has suffered exactly 256 deaths of ID:1061.

M Player 5 has suffered exactly 256 deaths of ID:1061.

I Player 4 has suffered exactly 256 deaths of ID:1061.

E Player 3 has suffered exactly 256 deaths of ID:1061.

A Player 2 has suffered exactly 256 deaths of ID:1061.

9 Player 12 has suffered exactly 256 deaths of ID:1060.

5 Player 11 has suffered exactly 256 deaths of ID:1060.

1 Player 10 has suffered exactly 256 deaths of ID:1060.

Insert Player 9 has suffered exactly 256 deaths of ID:1060.

Left Arrow Player 7 has suffered exactly 256 deaths of ID:1060.

Page Up Player 6 has suffered exactly 256 deaths of ID:1060.

Ctrl Player 2 has suffered exactly 256 deaths of ID:1060.

Enter Player 1 has suffered exactly 256 deaths of ID:1060.

X Player 8 has suffered exactly 1 deaths of ID:1061.

T Player 7 has suffered exactly 1 deaths of ID:1061.

P Player 6 has suffered exactly 1 deaths of ID:1061.

L Player 5 has suffered exactly 1 deaths of ID:1061.

H Player 4 has suffered exactly 1 deaths of ID:1061.

D Player 3 has suffered exactly 1 deaths of ID:1061.

8 Player 12 has suffered exactly 1 deaths of ID:1060.

4 Player 11 has suffered exactly 1 deaths of ID:1060.

0 Player 10 has suffered exactly 1 deaths of ID:1060.

Down Arrow Player 8 has suffered exactly 1 deaths of ID:1060.

Home Player 7 has suffered exactly 1 deaths of ID:1060.

Space Bar Player 6 has suffered exactly 1 deaths of ID:1060.

Caps Lock Player 3 has suffered exactly 1 deaths of ID:1060.

Joined: Sat May 23, 2009 9:51 am Posts: 218 Location: Toronto, Canada

Yes. It will also detect it even if the player has StarCraft minimized, since it is detecting when the key is pressed, not when the letter is registered by StarCraft.

Joined: Sat May 23, 2009 9:51 am Posts: 218 Location: Toronto, Canada

No, since in singleplayer, if you minimize, the game will automatically pause. If the map were played in multiplayer, where games are not paused, then yes, the action would continue. You will have to investigate yourself what happens when an EUD condition is met while the game is paused. However, I suspect the action will just run when the game is unpaused.

You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum