Skip to main content

Follow Player System

The Follow Player system lets motorcycle gangs escort you through Los Santos. When enabled, riders from CanFollowPlayer = true groups will follow your vehicle, forming a convoy behind you.


How It Works

When a rider group is active and within range, the system checks whether the group should follow the player. If the trigger conditions are met, the group switches from its normal cruise behaviour to following your vehicle in formation.

The system is globally toggled with F7 (configurable) and can be limited by PlayerVehicleType.


Trigger Modes

Proximity

Follow triggers when any rider in the group is within FollowRadius of the player. Simple distance check.

Mode = Proximity
FollowRadius = 60.0
LoseRadius = 200.0
  • Trigger: Any rider enters FollowRadius
  • Cancel: All riders exit LoseRadius

Dynamic (Default)

Follow triggers based on player speed and proximity. You take the lead by accelerating past the group.

Mode = Dynamic
FollowRadius = 60.0
LoseRadius = 200.0
DynamicMinSpeed = 12.0
DynamicTriggerMs = 2000
ConditionBehaviour
Player speed > DynamicMinSpeed + any rider within FollowRadiusPlayer takes lead: riders follow
Player speed < DynamicMinSpeedRiders take back the lead (they pass you)
All riders beyond LoseRadiusGroup stops following

The DynamicTriggerMs delay prevents brief acceleration from triggering follow mode. The player must sustain speed above the threshold for that duration.


Player Vehicle Types

Control which vehicles trigger follow behaviour:

ValueBehaviour
AnyFollow triggers in any vehicle
BikeOnlyOnly triggers on motorcycles
TwoWheelerTriggers on motorcycles and bicycles

Dismount Behaviours

When you get off your vehicle while riders are following, they react based on DismountBehavior:

Wait

Riders dismount, walk to you, and play idle scenarios (smoking, standing) at a distance. They stay nearby until you remount.

DismountBehavior = Wait
IdleScenarios = WORLD_HUMAN_SMOKING, WORLD_HUMAN_STAND_MOBILE
IdleDelayMs = 8000
  • Riders dismount after IdleDelayMs
  • They walk to within IdleMinStayDistance metres of you
  • At IdleScenarioDistance they start playing random scenarios
  • If you walk beyond IdleFollowDistance, they follow on foot
  • After you remount and ResumeDelayMs passes, they resume following on their bikes

Continue

A random rider becomes the new leader, and the group keeps cruising together. You're no longer part of the convoy.

Freestyle

Riders stay on their bikes and ride in loops around you, doing wheelies and performing stunts while you're on foot.


Idle Scenario Reference

Scenarios are played when riders wait near the player. Common values:

ScenarioBehaviour
WORLD_HUMAN_SMOKINGCharacter smokes a cigarette
WORLD_HUMAN_STAND_MOBILECharacter stands on phone

More scenario IDs: GTA Forums reference


Bodyguard System (WIP, do not enable)

The INI contains a bodyguard system:

BodyguardEnabled = false
BodyguardRadius = 30.0
BodyguardDurationMs = 15000

Do not enable this. The bodyguard system is still under development. Enabling it may cause riders to attack each other or the player. It will be properly released in a future update.


Configuration Reference

SettingDefaultDescription
EnabledtrueEnable follow player system
ToggleKeyF7Manual toggle key
ModeDynamicProximity or Dynamic
FollowRadius60.0Trigger distance (m)
LoseRadius200.0Cancel distance (m)
DynamicMinSpeed12.0Minimum speed for Dynamic mode (m/s)
DynamicTriggerMs2000Sustained speed duration before Dynamic trigger (ms)
PlayerVehicleTypeAnyAny, BikeOnly, or TwoWheeler
DismountBehaviorWaitWait, Continue, or Freestyle
IdleScenariosWORLD_HUMAN_SMOKING, WORLD_HUMAN_STAND_MOBILEIdle scenarios for waiting riders
IdleDelayMs8000Delay before dismounting for idle (ms)
ResumeDelayMs3000Delay after remount before resuming follow (ms)
IdleScenarioDistance8.0Distance to start idle scenarios (m)
IdleFollowDistance15.0Distance to follow on foot (m)
IdleMinStayDistance6.0Minimum distance riders stay near player (m)
IdleScenarioWaitMs4000Wait before starting a scenario (ms)
FollowMinDistance15Minimum follow distance for escort (m)