Npc vehicledriver: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
(removed the {{PAGENAME}} only because that was an exceedingly dumb use of it) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{this is a|series=Half-Life 2|e0|name=npc_vehicledriver}} | ||
==Entity description== | ==Entity description== |
Revision as of 09:21, 3 October 2023
npc_vehicledriver
is an e0 available in Half-Life 2 series.
Entity description

The NPC used to drive a target vehicle.
- For an example, see the apc_on_path prefab.

Keyvalues
- Vehicle (vehicle) <targetname>
- Vehicle to drive.
Flags
- Start Inactive : [65536]
Inputs
- StartFiring
- Tell the driver to attack nearby enemies with the vehicle's weaponry (if any).
- StopFiring
- Tell the driver to stop attacking nearby enemies with the vehicle's weaponry.
- GotoPathCorner <targetname >
- Tell the driver to go to a specific path corner and continue from there.
- SetDriversMaxSpeed <float >
- Set the drivermaxspeed.
- SetDriversMinSpeed <float >
- Set the driverminspeed.
- StartForward
- Tell the driver to start driving.
- Stop
- Tell the driver to stop driving.
Outputs
|