Set the players objective. The objectives available are as
follows
Objective | Description |
1 | Driver Wait for the player to reach a checkpoint. |
2 | The player is expected to reach a target the map. |
3 | Wait for the game animations to be completed. |
4 | The player must scare a passenger in the car. |
5 | The player must chase a pre-recorded demo and hit it. |
6 | The player is required to destroy a car that has been added with the AddCivCar requires a target index as the first parameter. command, an arrow will automatically appear above the target car. See Set TargetDamage. |
8 | When used with CreateGangCar Creates randomly a target over a pinging in civilian car which is heading towards the player car and assigns a damage value before that car is considered dead and objective complete. |
Use WaitForObjectiveComplete to add multiple part in the mission..