00AE
Revision as of 03:41, 6 December 2016 by Spaceeinstein (talk | contribs)
- Description
- Sets the vehicle's driving mode
- Syntax
- 00AE: set_car [car handle] traffic_behaviour_to [int]
- Parameter
- [car handle]
- The handle of the vehicle
- [int]
- Driving mode (see below)
Driving modes
Mode | Enum | Description |
---|---|---|
0 | DRIVINGMODE_STOPFORCARS | follows traffic lights, stops for obstacles |
1 | DRIVINGMODE_SLOWDOWNFORCARS | follows traffic lights, drives into obstacles |
2 | DRIVINGMODE_AVOIDCARS | ignores traffic lights, drives around obstacles |
3 | DRIVINGMODE_PLOUGHTHROUGH | ignores traffic lights, drives into obstacles |
4 | DRIVINGMODE_STOPFORCARS_IGNORELIGHTS | ignores traffic lights, stops for obstacles |
5 | follows traffic lights, drives around obstacles |
Keywords
set, car, vehicle, driving, mode, style, traffic, behavior, behaviour