Npc vehicledriver: 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.
m (minoro) |
m (Robot: fixing template case.) |
||
| Line 18: | Line 18: | ||
== Flags == | == Flags == | ||
* {{ | * {{Fl VehicleDriverNPC}} | ||
== Inputs == | == Inputs == | ||
Revision as of 18:24, 19 January 2009
Entity description
The NPC used to drive a target vehicle.
- For an example, see the apc_on_path prefab.
Keyvalues
- Template:Kv vehicledrivernpc
- drivermaxspeed
- <float> Maxspeed (percentage of vehicle's maxspeed).
- driverminspeed
- <float> MinSpeed (percentage of vehicle's maxspeed).
Flags
- Start Inactive : [65536]
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.
