This article's documentation is for the "GoldSrc" engine. Click here for more information.

info_player_start

From Valve Developer Community
Revision as of 09:11, 8 May 2025 by SirYodaJedi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Português do Brasil (pt-br)Translate (Translate)
edit
Info player start.png
C++ Class hierarchy
CPointEntity
CBaseEntity
C++ effects.cpp

info_player_start is a point entity available in all GoldSrc GoldSrc games. An info_player_start is used to define where the player will spawn in a map in single player. Only one info_player_start can be used in a level. If more than one exists, the one placed first will be used. Unlike most point entities used for spawning, the info_player_start is not affected by gravity, meaning if the entity is placed mid-air in the editor it will be placed mid-air in the map, resulting in the player spawning and falling from it.

In Counter-StrikeCounter-Strike: Condition Zero when deathmatch is set to 1, this is a counter-terrorist spawn point, equivalent to later games' info_player_counterterrorist.

Key Values

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Flags

Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.