npc_cranedriver
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.
![]() |
---|
CNPC_CraneDriver |
![]() |

npc_cranedriver
is a model entity available in Half-Life 2 series. The NPC used to drive cranes.

Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pause time before dropping a ForceDrop specified object (releasepause) <float>
- Pause time before dropping a ForceDrop specified object.
- Vehicle (vehicle) <targetname>
- Vehicle to drive.
Flags
- Start Inactive : [65536]
Inputs
- ForcePickup <targetname >
- Force the driver to pickup the specified entity (by targetname).
- ForceDrop <targetname >
- Force the driver to drop the currently held object at the specified entity's location.
- 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.
Outputs
- OnPickedUpObject
- !activator = picked up object
!caller = this entity
Fired when the ForcePickup specified object has been picked up.
- OnDroppedObject
- !activator = !caller = this entity
Fired when the ForceDrop specified object has been dropped.
- OnPausingBeforeDrop
- !activator = !caller = this entity
Fired at the start of the pause before dropping the ForceDrop specified object.