> For the complete documentation index, see [llms.txt](https://gley.gitbook.io/mobile-traffic-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gley.gitbook.io/mobile-traffic-system/complete-api/driveactions.md).

# DriveActions

### Description

The possible state in which a traffic vehicle can be.

A vehicle can have multiple states stored, but the one with the highest priority will be the active one.

### Declaration&#x20;

```csharp
public enum DriveActions
```

### Members

<table><thead><tr><th width="188">Name</th><th width="90">Priority</th><th>Description</th></tr></thead><tbody><tr><td><strong>Forward</strong></td><td>0</td><td>Normal driving.</td></tr><tr><td><strong>ForceForward</strong></td><td>1</td><td>Clear all existing actions and continue forward.</td></tr><tr><td><strong>Continue</strong></td><td>10</td><td>Do not change current state.</td></tr><tr><td><strong>ChangeLane</strong></td><td>11</td><td>Try to change the current lane.</td></tr><tr><td><strong>Follow</strong></td><td>12</td><td>Addapt the speed to the front vehicle.</td></tr><tr><td><strong>Overtake</strong></td><td>13</td><td>Try to overtake the front vehicle.</td></tr><tr><td><strong>AvoidForward</strong></td><td>15</td><td>Make a hard turn to the right to avoid a forward collision with a vehicle from the other way.</td></tr><tr><td><strong>GiveWay</strong></td><td>16</td><td>Stop and make sure it is free to continue.</td></tr><tr><td><strong>StopInPoint</strong></td><td>20</td><td>For traffic lights or other road signs. </td></tr><tr><td><strong>StopInDistance</strong></td><td>70</td><td>Stop in front trigger dimension.</td></tr><tr><td><strong>Reverse</strong></td><td>80</td><td>Reverse but keep wheels as they are.</td></tr><tr><td><strong>StopTemp</strong></td><td>90</td><td>Stop and resume after some time.</td></tr><tr><td><strong>Stop</strong></td><td>91</td><td>Stop forever.</td></tr><tr><td><strong>AvoidReverse</strong></td><td>100</td><td>Reverse but change wheel direction.</td></tr><tr><td><strong>NoWaypoint</strong></td><td>1000</td><td>No waypoints available to continue.</td></tr><tr><td><strong>NoPath</strong></td><td>1001</td><td>No path waypoints available to continue.</td></tr><tr><td><strong>Destroyed</strong></td><td>10000</td><td>Vehicle was removed from the scene.</td></tr></tbody></table>
