ChangeLane
Description
Forces a traffic vehicle to change the lane in the indicated direction. The vehicle will make sure the lane is free before changing it.
Declaration
Parameters
Name | Description |
---|---|
active | If true the ChangeLane action will be added to the vehicle, otherwise it will be removed. |
vehicleIndex | The index of the vehicle. |
side | The road side for changing the lane. |
Example
Last updated