Npc apcdriver: 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.
(→Entity Description: expanded desc) |
m (Added link to Russian version) |
||
Line 31: | Line 31: | ||
* '''EnableFiring <float>''' | * '''EnableFiring <float>''' | ||
: Enables firing to start. Firing is enabled by default | : Enables firing to start. Firing is enabled by default | ||
{{otherlang:en}} | |||
{{otherlang:en:ru|Npc_apcdriver_(ru)}} | |||
[[Category:Entities]] [[Category:NPCs]] | [[Category:Entities]] [[Category:NPCs]] |
Revision as of 11:37, 17 March 2007
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.

Keyvalues
- Template:Kv vehicledrivernpc
- drivermaxspeed
- <float> Maxspeed (percentage of vehicle's maxspeed).
- driverminspeed
- <float> MinSpeed (percentage of vehicle's maxspeed).
Flags
- Template:Fl basenpc
- 65536 : No Rocket Attacks
- 131072 : No Gun Attacks
Inputs
- Template:I vehicledrivernpc
- 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
- Template:O basenpc
- DisableFiring <float>
- Disables firing from happening
- EnableFiring <float>
- Enables firing to start. Firing is enabled by default