Info target command point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
No edit summary
Line 1: Line 1:
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
{{CD|CCommandPoint|file1=1}}
{{CD|CCommandPoint|file1=1}}
{{this is a|entity|name=info_target_command_point|game=Half-Life 2 series|game1=Black Mesa}}
{{this is a|point entity|name=info_target_command_point|game=Half-Life 2 series|game1=Black Mesa}}


It's 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.
It's 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.

Revision as of 17:32, 22 May 2025

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's 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 works in other way.

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.