info_player_spectator

From Valve Developer Community
Revision as of 17:37, 14 August 2026 by SirYodaJedi (talk | contribs) (→‎Key Values)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
C++ Class hierarchy
CBaseDMStart
↳CPointEntity
↳CBaseEntity
C++ subs.cpp

info_player_spectator is a point entity available in Ricochet Ricochet. This entity defines a spectator camera. When you are waiting for a game to start, you will see the area from the perspective of one of these cameras.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
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.
Target (target) <integer>
Alternative method of orienting the spawned player, instead of angles.
Master (master) <targetname>
Name of a master entity. If the master hasn't been activated, this entity will not activate.