00E1
Revision as of 09:14, 17 August 2009 by Spaceeinstein (talk | contribs) (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, [...)
{{{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. 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) | |
| 11 | Strafe Right (VC), Conversation - 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