Npc apcdriver

From Valve Developer Community
Revision as of 02:41, 17 April 2008 by Tourorist (talk | contribs) (minoro)
Jump to navigation Jump to search

Template:Wrongtitle

Entity description

The NPC used to drive an APC vehicle (prop_vehicle_apc).

This entity has no physical representation in-game, and as such does not require specific placement in relation to its APC model.

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

Disables firing from happening
  • EnableFiring <float>
Enables firing to start. Firing is enabled by default

Template:Otherlang:en Template:Otherlang:en:ru