You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to replace if (_drivingMode >= 0) AI::TASK_VEHICLE_DRIVE_WANDER(ped, vehicle, _setSpeed, _drivingMode);
with if (_drivingMode >= 0)AI::TASK_VEHICLE_DRIVE_TO_COORD(ped, vehicle, dir.x, dir.y, dir.z, _setSpeed, 1.0, vehicleHash, drivingStyle, 1.0, true); in Scenario.cpp. dir.x, dir.y and dir.z are the coordinates you want to drive to.
Is it possible to turn on autopilot for the player's agent? For example, give it a goal in world coordinates, and let GTA use a planner, if available?
The text was updated successfully, but these errors were encountered: