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.
Kestrelguy (talk | contribs) m (added language bar. also some formatting.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|Npc apcdriver}} | {{lang|Npc apcdriver}} | ||
{{ | {{this is a|series=Half-Life 2|e0|name=npc_apcdriver}} | ||
==Entity Description== | ==Entity Description== |
Revision as of 09:21, 3 October 2023
npc_apcdriver
is an e0 available in Half-Life 2 series.
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.

Keyvalues
- Vehicle (vehicle) <targetname>
- Vehicle to drive.
Flags
- Start Inactive : [65536]
- No Rocket Attacks : [65536]
- Overrides standard flag for this number[confirm].
Bug:Does nothing in
Source 2013. [todo tested in ?]
- No Gun Attacks : [131072]
Inputs
- StartFiring
- Tell the driver to attack nearby enemies with the vehicle's weaponry (if any).
- StopFiring
- Tell the driver to stop attacking nearby enemies with the vehicle's weaponry.
- GotoPathCorner <targetname >
- Tell the driver to go to a specific path corner and continue from there.
- 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
- DisableFiring <float >
- Disables firing from happening.
- EnableFiring <float >
- Enables firing to start. Firing is enabled by default.
|