npc_vehicledriver
- Half-Life: Alyx
- Steam VR
Point Entity
NPC used to drive a target vehicle.
Keyvalues
-
Vehicle to drive (
vehicle) <TargetDestination> -
Spawnflags (
spawnflags) <Flags>- Start Inactive
-
Maxspeed (percentage of vehicle's maxspeed). (
drivermaxspeed) <Float> -
MinSpeed (percentage of vehicle's maxspeed). (
driverminspeed) <Float>
Inputs
-
StartFiring <
Void>
Tell the driver to attack nearby enemies with the vehicle's weaponry (if any) -
StopFiring <
Void>
Tell the driver to stop attacking nearby enemies with the vehicle's weaponry. -
GotoPathCorner <
String>
Tell the driver to go to a specific path corner and continue from there. -
SetDriversMaxSpeed <
Float>
Set the Maxspeed (percentage of vehicle's maxspeed). -
SetDriversMinSpeed <
Float>
Set the Minspeed (percentage of vehicle's maxspeed). -
StartForward <
Void>
Tell the driver to start driving. -
Stop <
Void>
Tell the driver to stop driving.
Point Entity
NPC used to drive a target vehicle.
Keyvalues
-
Vehicle to drive (
vehicle) <TargetDestination> -
Spawnflags (
spawnflags) <Flags>- Start Inactive
-
Maxspeed (percentage of vehicle's maxspeed). (
drivermaxspeed) <Float> -
MinSpeed (percentage of vehicle's maxspeed). (
driverminspeed) <Float>
Inputs
-
StartFiring <
Void>
Tell the driver to attack nearby enemies with the vehicle's weaponry (if any) -
StopFiring <
Void>
Tell the driver to stop attacking nearby enemies with the vehicle's weaponry. -
GotoPathCorner <
String>
Tell the driver to go to a specific path corner and continue from there. -
SetDriversMaxSpeed <
Float>
Set the Maxspeed (percentage of vehicle's maxspeed). -
SetDriversMinSpeed <
Float>
Set the Minspeed (percentage of vehicle's maxspeed). -
StartForward <
Void>
Tell the driver to start driving. -
Stop <
Void>
Tell the driver to stop driving.