Difference between revisions of "0477"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
| p2 = Integer (behavior) | | p2 = Integer (behavior) | ||
| p3 = Duration (millisecond) | | p3 = Duration (millisecond) | ||
− | | game = [[Vice City]], [[San Andreas]] | + | | game = [[GTA 3]], [[Vice City]], [[San Andreas]] |
}} | }} | ||
This opcode sets a specific driving behavior for a vehicle, except the helicopter. The requirement for this opcode to work is that the vehicle needs to have a driver and the driver cannot be the player. Combinations of these behaviors can be used where physically possible. The driver will not avoid obstacles or follow any paths. | This opcode sets a specific driving behavior for a vehicle, except the helicopter. The requirement for this opcode to work is that the vehicle needs to have a driver and the driver cannot be the player. Combinations of these behaviors can be used where physically possible. The driver will not avoid obstacles or follow any paths. | ||
Line 35: | Line 35: | ||
| 10 || turn wide right (left for boat) | | 10 || turn wide right (left for boat) | ||
|} | |} | ||
+ | |||
+ | ==Keywords== | ||
+ | set, car, animation, time |
Revision as of 00:26, 12 September 2010
{{{games}}}
- Description
- Sets a driving behavior for the vehicle
- Syntax
- {{{syntax1}}}
- Parameter
This opcode sets a specific driving behavior for a vehicle, except the helicopter. The requirement for this opcode to work is that the vehicle needs to have a driver and the driver cannot be the player. Combinations of these behaviors can be used where physically possible. The driver will not avoid obstacles or follow any paths.
ID | Description |
---|---|
0 | brake, with brake lights |
1 | gentle brake |
2 | reverse |
3 | turn hard left and brake |
4 | turn hard right and brake |
5 | brake, no brake lights |
6 | turn hard left |
7 | turn hard right |
8 | forward |
9 | turn wide left (right for boat) |
10 | turn wide right (left for boat) |
Keywords
set, car, animation, time