npc_cranedriver
Jump to navigation
Jump to search
class hierarchy |
---|
CNPC_CraneDriver defined in npc_cranedriver.cpp
|
npc_cranedriver
is a point 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.
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
Keyvalues
CBaseCombatCharacter:
CAI_BaseNPC:
DamageFilter:
|
- 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
Wait Till Seen : [1]
Gag : [2]
Fall to ground (unchecked means teleport to ground) : [4]
Efficient : [16]
Wait For Script : [128]
Long Visibility/Shoot : [256]
Fade Corpse : [512]
Template NPC : [2048]
Note:This flag is disabled in episodic for player companions, because the
StartScripting input does this.Don't drop weapons : [8192]
|
- 65536 : Start Inactive
Inputs
CAI_BaseNPC:
CBaseCombatCharacter:
DamageFilter: |
- 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
- Half-Life 2 entities
- Half-Life 2 point entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Immobile NPCs
- NPC entities
- Vehicle Entities
- Half-Life 2 NPCs