Npc helicoptersensor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Classifying as model entity)
(-added class hierarchy, inputs)
Line 1: Line 1:
{{stub}}
{{stub}}{{cleanup}}
{{ent not in fgd}}
{{ent not in fgd}}
{{this is a|model entity|name=npc_helicoptersensor|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch|game4=Half-Life 2: Lost Coast}}
{{CD|CBombDropSensor|file1=1}}
==Entity description==
{{this is a|model entity|name=npc_helicoptersensor|game=Half-Life 2 series}}
 
This entity automatically spawns whenever {{ent|npc_helicopter}} spawns and follows the helicopter wherever it goes meaning that this entity is a [[Entity_Hierarchy_(parenting)|child entity]] of npc_helicopter.
This entity automatically spawns whenever {{ent|npc_helicopter}} spawns and follows the helicopter wherever it goes meaning that this entity is a [[Entity_Hierarchy_(parenting)|child entity]] of npc_helicopter.
{{todo|Find out what this entity is for.}}
{{todo|Find out what this entity is for.}}
== Keyvalues ==
{{KV Targetname}}
== Inputs ==
<pre>
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 ),

Revision as of 17:15, 5 June 2025

Stub

This article or section is a stub. You can help by expanding it.

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
Icon-NotInFGD.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 model 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>[ Edit ]
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 ),