Npc vehicledriver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=npc_vehicledriver}}
{{wrongtitle|title=npc_vehicledriver}}
[[Category:Entities]]
[[Category:Vehicle Entities]][[Category:NPCs]]
==Entity Description==
==Entity Description==
[[Image:{{PAGENAME}}.png|left]]NPC used to drive a target vehicle.  
[[Image:{{PAGENAME}}.png|left]]NPC used to drive a target vehicle.  
Line 29: Line 32:
==Outputs==
==Outputs==
* {{o basenpc}}
* {{o basenpc}}
[[Category:Entities]] [[Category:NPCs]]

Revision as of 15:34, 16 April 2008

Template:Wrongtitle

Entity Description

Npc vehicledriver.png

NPC used to drive a target vehicle.

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