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
m (→‎top: clean up, replaced: {{ModernNote| → {{note|)
Line 11: Line 11:
{{CD|CPointEntity|file1=subs.cpp}}
{{CD|CPointEntity|file1=subs.cpp}}
{{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]]).
{{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.}}
{{note|In multiplayer games, this entity is usually unused. See below for other player spawn entities.}}


== Keyvalues ==
== Keyvalues ==

Revision as of 00:39, 4 January 2024

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