Difference between revisions of "00E1"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
| game = [[GTA 3]], [[Vice City]], [[San Andreas]] | | game = [[GTA 3]], [[Vice City]], [[San Andreas]] | ||
}} | }} | ||
+ | |||
+ | '''Parameter 1''' | ||
+ | 0 = Player 1 | ||
+ | 1 = Player 2 | ||
This opcode checks if a key assigned to a function in the game is pressed. The [[GXT#Keypresses|GXT]] file can help display the keys being pressed. Use opcode [[0AB0]] to get a specific key on a keyboard. | This opcode checks if a key assigned to a function in the game is pressed. The [[GXT#Keypresses|GXT]] file can help display the keys being pressed. Use opcode [[0AB0]] to get a specific key on a keyboard. | ||
Revision as of 12:23, 23 October 2010
{{{games}}}
- Description
- Checks if a key is pressed
- Syntax
- {{{syntax1}}}
- Parameter
Parameter 1
0 = Player 1 1 = Player 2
This opcode checks if a key assigned to a function in the game is pressed. The GXT file can help display the keys being pressed. Use opcode 0AB0 to get a specific key on a keyboard.
Number | On foot | In a vehicle |
---|---|---|
0[*] | Left / Right | Steer Left / Right |
1[*] | Foward / Backwards | Steer Foward / Backward |
2[*] | Special Ctrl Left / Right | |
3[*] | Special Ctrl Up / Down | |
4 | Action (VC, SA) | Radio (VC), Secondary Fire (SA) |
5 | Previous Weapon / Zoom In | Look Left |
6 | Aim | Handbrake |
7 | Next Weapon / Zoom Out | Look Right |
8 | Forward (VC), Group Ctrl Back (SA) | Next Radio Station (SA) |
9 | Backward (VC), Group Ctrl Foward (SA) | Previous Radio Station (SA) |
10 | Strafe Left (VC), Conversation - No (SA) | Steer Left (VC), No (SA) |
11 | Strafe Right (VC), Conversation - Yes (SA) | Steer Right (VC), Yes (SA), Trip Skip (SA) |
13 | Change Camera | |
14 | Jump | Brake / Reverse |
15 | Enter / Exit | |
16 | Sprint | Accelerate |
17 | Attack | |
18 | Crouch (VC, SA) | Horn |
19 | Look Behind | Sub-mission |
^ Use opcode 0494 to get specific key presses
Keywords
keypress, key, press, button