info_target_command_point

From Valve Developer Community
Revision as of 20:10, 4 August 2025 by Theki (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CCommandPoint
CPointEntity
CBaseEntity
C++ npc_citizen17.cpp

info_target_command_point is a point entity available in Half-Life 2 series Half-Life 2 series and Black Mesa Black Mesa.

It is an entity created at or moved to where the player is looking every time they issue a go-to command to the player squad. NPCs will move to the location of this entity.

Note.pngNote:Non-functional in Black Mesa due to player squad controls working in other ways.

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

OutsideTransition <void>
Normally sent by trigger_transition when this entity is not inside it when the player enters an associated trigger_changelevel. Makes squad NPCs forget about the command and follow the player again.