AddDrivingAction
Description
Add an external driving action to a traffic vehicle to customize its behavior. The added action will be added inside the vehicle's actions queue and executed accordingly.
The complete list of actions is available here: DriveActions
Declaration
Parameters
Name
Description
vehicleIndex
Index of the excluded vehicle.
action
force
If true, all the preexisting actions for that vehicle will be cleared and just the current one will be added.
Example
Last updated