npc_helicoptersensor

From Valve Developer Community
Jump to navigation Jump to search
This article or section is a stub. You can help by expanding it.
Icon-callout-cleanup.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
Icon-callout-not-in-fgd.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CBombDropSensor
↳CBaseEntity
C++ npc_attackchopper.cpp

npc_helicoptersensor is a point entity available in Half-Life 2 series Half-Life 2 series.

This entity automatically spawns whenever npc_helicopter spawns and follows the helicopter wherever it goes meaning that this entity is a child entity of npc_helicopter.

Todo: Find out what this entity is for.

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also: Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

DEFINE_INPUTFUNC( FIELD_VOID, "DropBomb", InputDropBomb ),
DEFINE_INPUTFUNC( FIELD_VOID, "DropBombStraightDown", InputDropBombStraightDown ),
DEFINE_INPUTFUNC( FIELD_STRING, "DropBombAtTargetAlways", InputDropBombAtTargetAlways ),
DEFINE_INPUTFUNC( FIELD_STRING, "DropBombAtTarget", InputDropBombAtTarget ),
DEFINE_INPUTFUNC( FIELD_FLOAT, "DropBombDelay", InputDropBombDelay ),