player

From Valve Developer Community
Revision as of 16:04, 11 September 2024 by SirYodaJedi (talk | contribs)
Jump to navigation Jump to search
edit
C++ Class hierarchy
CHL1_Player
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ hl1/hl1_player.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
For the multiplayer version of this entity, see player_mp.

player is a point entity available in Half-Life: Source Half-Life: Source.

Icon-Important.pngImportant:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Alien SwarmAlien Swarm: Reactive DropPortal 2Counter-Strike: Global Offensive.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.

This entity does not have any KeyValues or inputs beyond those inherited from CBasePlayer.