Info target command point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
{{this is a|point 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 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|Non-functional in {{bms}} due to player squad controls works in other way.}}
{{note|Non-functional in {{bms}} due to player squad controls working in other ways.}}


== Keyvalues ==
== Keyvalues ==

Latest revision as of 20:10, 4 August 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 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.