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.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wrongtitle|title= | {{wrongtitle|title=npc_apcdriver}} | ||
==Entity Description== | ==Entity Description== | ||
NPC used to drive an APC vehicle. | NPC used to drive an APC vehicle. |
Revision as of 19:28, 17 August 2005
Entity Description
NPC used to drive an APC vehicle.

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