[Key Input Processing]

 

Function

·Converts the key pressed by the player into a key code (numerical value) and stores it in a variable.

·It is also possible to wait for the player to press a specific key.

 

Settings

bm225

 

·The keys that can be read and their respective key codes are as follows.

 

Number: Key (NumLock ON)

1: Direction key down, J

2: Direction key left, H

3: Direction key right, L

4: Direction key up, K

5: Enter, Spacebar, Z

6: Esc, X, C, V, B, N

10: 0, Numpad 0

11: 1, Numpad 1

12: 2, Numpad 2

13: 3, Numpad 3

14: 4, Numpad 4

15: 5, Numpad 5

16: 6, Numpad 6

17: 7, Numpad 7

18: 8, Numpad 8

19: 9, Numpad 9

20: Numpad +

21: Numpad -

22: Numpad *

23: Numpad /

24: Numpad .

Number: Key (NumLock ON)

1: Direction key down, J, Numpad 2

2: Direction key left, H, Numpad 4

3: Direction key right, L, Numpad 6

4: Direction key up, K, Numpad 8

5: Enter, Space, Z

6: Esc, X, C, V, B, N, Numpad 0

10: 0

11: 1

12: 2

13: 3

14: 4

15: 5

16: 6

17: 7

18: 8

19: 9

20: Numpad +

21: Numpad -

22: Numpad *

23: Numpad /

 

Notes

·Key input is handled using the standard keyboard inclusive of a number pad. On notebook computers and some computers that do not have a number pad, the numpad keys cannot be used regardless of whether the NumLock is ON or OFF.

·Specify the variable to receive the key code under [Variable]. The variable to use can be selected from the [Variables] window which can be opened by clicking the [...] button.

·Specify the variable to receive keypress duration under [Variable] in units of 0.1 seconds. The variable to use can be selected from the [Variables] window which can be opened by clicking the [...] button.

·Under [Allowed keys], specify the keys for which to allow input for the processing of this command. Disabled (unchecked) keys will not be accepted as input.

·If [Wait for Key Input] under [Options] is enabled, processing will not continue until a key is pressed. This is set to active by default.