Npc apcdriver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=npc_apcdriver}}
{{wrongtitle|title=npc_apcdriver}}
[[Category:Entities]]
[[Category:Vehicle Entities]][[Category:NPCs]]
==Entity Description==
==Entity Description==
NPC used to drive an APC vehicle ([[prop_vehicle_apc]]). {{immobile npc}}
NPC used to drive an APC vehicle ([[prop_vehicle_apc]]). {{immobile npc}}
Line 36: Line 39:
{{otherlang:en}}
{{otherlang:en}}
{{otherlang:en:ru|Npc_apcdriver:ru}}
{{otherlang:en:ru|Npc_apcdriver:ru}}
[[Category:Entities]] [[Category:NPCs]]

Revision as of 15:29, 16 April 2008

Template:Wrongtitle

Entity Description

NPC used to drive an APC vehicle (prop_vehicle_apc).

It does not show up in-game, and does not need to be placed inside the APC—nearby is sufficient.

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