Page MenuHomeFeedback Tracker

AICarMovementComponent.SetCruiseSpeed does not work
New, NormalPublic

Description

Game Version number: 1.4.0.48
Modded?: Yes
If modded, please list the mods: Overthrow, EPF, EDF

Issue Description:
Calling SetCruiseSpeed on a vehicle's AICarMovementComponent will make the AI drive at maximum 5kmh no matter what number you provide

eg.

AICarMovementComponent.SetCruiseSpeed(35) they will go 5kmh
AICarMovementComponent.SetCruiseSpeed(35000) they will go 5kmh
AICarMovementComponent.SetCruiseSpeed(10) they will go 5kmh

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce

AICarMovementComponent carMovementComp = AICarMovementComponent.Cast(vehicle.FindComponent(AICarMovementComponent));
if(carMovementComp)
{
carMovementComp.SetCruiseSpeed(25);
}

Event Timeline