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

Info player start: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Entity -> This is a)
Line 10: Line 10:
}}
}}
{{CD|CPointEntity|file1=subs.cpp}}
{{CD|CPointEntity|file1=subs.cpp}}
{{entity|info_player_start|type=e0}} 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 <code>(0, 0, 0)</code> ([[worldspawn]]).
{{This is a|point|name=info_player_start}} 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 <code>(0, 0, 0)</code> ([[worldspawn]]).
{{ModernNote|In multiplayer games, this entity is usually unused. See below for other player spawn entities.}}
{{ModernNote|In multiplayer games, this entity is usually unused. See below for other player spawn entities.}}



Revision as of 19:54, 8 September 2023

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). Template:ModernNote

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