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

Info player start (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{TabsBar|main=gs|base=Info player start}}
{{TabsBar|main=info_player_start}}
[[File:info_player_start.png|300px|thumb]]
[[File:info_player_start.png|300px|thumb]]
{{CD|CPointEntity|goldsrc=1}}
{{CD|CPointEntity|goldsrc=1}}

Revision as of 08:05, 8 May 2025

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.


Entity description

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.

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.