Difference between revisions of "00E1"
Jump to navigation
Jump to search
(New page: {{OpCode | ini = 00E1=2, %1d% %2d% | description = Checks if a key is pressed | p1 = Joypad number (always 0) | p2 = Keypress number | game = GTA 3, [...) |
|||
Line 6: | Line 6: | ||
| game = [[GTA 3]], [[Vice City]], [[San Andreas]] | | game = [[GTA 3]], [[Vice City]], [[San Andreas]] | ||
}} | }} | ||
− | This opcode checks if a key assigned to a function in the game is 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. |
{|{{Prettytable}} class="collapsible" | {|{{Prettytable}} class="collapsible" | ||
! Number | ! Number | ||
− | ! On foot | + | !width="250px"| On foot |
− | ! In a vehicle | + | !width="250px"| In a vehicle |
|- | |- | ||
| 0{{Ref|1|[*]}} | | 0{{Ref|1|[*]}} | ||
Line 55: | Line 55: | ||
| 10 | | 10 | ||
| Strafe Left (VC), Conversation - No (SA) | | Strafe Left (VC), Conversation - No (SA) | ||
+ | | Steer Left (VC), No (SA) | ||
|- | |- | ||
| 11 | | 11 | ||
| Strafe Right (VC), Conversation - Yes (SA) | | Strafe Right (VC), Conversation - Yes (SA) | ||
− | | Trip Skip (SA) | + | | Steer Right (VC), Yes (SA), Trip Skip (SA) |
|- | |- | ||
| 13 | | 13 | ||
Line 88: | Line 89: | ||
==Keywords== | ==Keywords== | ||
− | keypress, key, press | + | keypress, key, press, button |
Revision as of 20:39, 17 August 2009
{{{games}}}
- Description
- Checks if a key is pressed
- Syntax
- {{{syntax1}}}
- Parameter
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