npc_cranedriver
Jump to navigation
Jump to search
![]() |
---|
CNPC_CraneDriver defined in ![]() npc_cranedriver.cpp
|
npc_cranedriver
is a model entity available in Half-Life 2,
Half-Life 2: Episode One,
Half-Life 2: Episode Two, and
Half-Life 2: Deathmatch.

The NPC used to drive cranes.

Keyvalues
- Vehicle (vehicle) <targetname>
- Vehicle to drive.
- Pause time before dropping a ForceDrop specified object (releasepause) <float>
- Pause time before dropping a ForceDrop specified object.
Flags
- Start Inactive : [65536]
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.
- 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.
Outputs
|
- OnPickedUpObject
- Fired when the ForcePickup specified object has been picked up.
- OnDroppedObject
- Fired when the ForceDrop specified object has been dropped.
- OnPausingBeforeDrop
- Fired at the start of the pause before dropping the ForceDrop specified object.
Categories:
- TODO rewrite lang to LanguageBar
- Model entities
- Half-Life 2 entities
- Half-Life 2 model entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One model entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two model entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch model entities
- Immobile NPCs
- NPC entities
- Vehicle Entities
- Half-Life 2 NPCs