Difference between revisions of "00AE"
Jump to navigation
Jump to search
(added keywords and category) |
(added enum, the 5th is unknown atm, any ideas?) |
||
| Line 1: | Line 1: | ||
| − | {{Icon|trilogy}} | + | {{Icon|trilogy}} '''SET_CAR_DRIVING_STYLE''' |
<hr /> | <hr /> | ||
'''Description''' | '''Description''' | ||
| Line 9: | Line 9: | ||
:: Handle of the car | :: Handle of the car | ||
: [''int''] | : [''int''] | ||
| − | :: Car behaviour | + | :: Car behaviour, see below |
| − | + | ||
| − | + | {| class="wikitable" | |
| − | + | ! Value | |
| − | + | ! [[SCM_language_III/VC_definitions#DRIVINGMODE|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 == | == Keywords == | ||
Revision as of 13:11, 27 June 2015
Description
- Sets a vehicle's driving style
Syntax
- 00AE: set_car [car handle] traffic_behaviour_to [int]
Parameters
- [car handle]
- Handle of the car
- [int]
- Car behaviour, see below
| Value | 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
car, driving, style, traffic, behaviour