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.
Bug: Does nothing in Source 2013. [todo tested in ?]
m (→Flags) |
m (npc_apcdriver is a child of npc_vehicledriver, not BaseNPC) |
||
Line 18: | Line 18: | ||
== Flags == | == Flags == | ||
{{Fl | {{Fl VehicleDriverNPC}} | ||
* 65536 : No Rocket Attacks | * 65536 : No Rocket Attacks | ||
{{bug| Does nothing in Source 2013.}} | {{bug| Does nothing in Source 2013.}} |
Revision as of 05:37, 19 February 2022
Template:Otherlang2 Template:Hl2 point
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]
- 65536 : No Rocket Attacks

- 131072 : No Gun Attacks
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.