This article's documentation is for anything that uses the Source engine. Click here for more information.

info_player_start

From Valve Developer Community
Revision as of 04:34, 4 January 2024 by Thunder4ik (talk | contribs) (clean up, replaced: {{source}} → {{src}} (2))
Jump to navigation Jump to search
English (en)한국어 (ko)中文 (zh)Translate (Translate)

Template:EntityTabs

info_player_start
Info player start.png
TypePoint entity
EngineGoldSrc Source Source 2
AvailabilityIn all games
 
C++ Class hierarchy
CPointEntity
CBaseEntity
C++ subs.cpp

info_player_start is a point available in all Source Source games. It indicates the position and facing direction at which the player will spawn. If there isn't at least one spawn entity, most mods will usually spawn the player at (0, 0, 0) (worldspawn).

Note.pngNote:In multiplayer games, this entity is usually unused. See below for other player spawn entities.

Keyvalues

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

Master (Has priority if multiple info_player_start entities exist) : [1]

See also