Npc vehicledriver

From Valve Developer Community
Revision as of 09:44, 28 August 2006 by Andreasen (talk | contribs) (Linked to example prefab.)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Npc vehicledriver.png

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

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Keyvalues

<float> Maxspeed (percentage of vehicle's maxspeed).
  • driverminspeed
<float> MinSpeed (percentage of vehicle's maxspeed).

Flags

Inputs

Set the drivermaxspeed.
  • SetDriversMinSpeed <float>
Set the driverminspeed.
  • StartForward
Tell the driver to start driving.
  • Stop
Tell the driver to stop driving.

Outputs