Difference between revisions of "0477"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 35: Line 35:
 
| 10 || turn wide right (left for boat)
 
| 10 || turn wide right (left for boat)
 
|}
 
|}
 +
Any other values will have the same effect as behavior 0.
  
 
==Keywords==
 
==Keywords==
 
set, car, animation, time
 
set, car, animation, time

Revision as of 13:42, 14 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)

Any other values will have the same effect as behavior 0.

Keywords

set, car, animation, time