Info player observer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
("Toggle Spawn" ? is that correct input with space ?)
(→‎Inputs: per FGD)
Line 7: Line 7:


== Inputs ==
== Inputs ==
{{I|Toggle Spawn|Toggles the spawn on and off.}}
{{I|ToggleSpawn|Toggles the spawn on and off.}}
{{I|EnableSpawn|Enable this spawn point.}}
{{I|DisableSpawn|Disable this spawn point.}}
 
== Outputs ==
{{O|OnPlayerSpawn|Fired whenever a player is spawned on this location.}}


== See also ==
== See also ==

Revision as of 13:38, 3 May 2025

info_player_observer is a point entity available in Zombie Panic! Source Zombie Panic! Source. The observer (aka: spectate) spawn point entity used in Zombie Panic! Source.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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.

Inputs

ToggleSpawn
Toggles the spawn on and off.
EnableSpawn
Enable this spawn point.
DisableSpawn
Disable this spawn point.

Outputs

OnPlayerSpawn
Fired whenever a player is spawned on this location.

See also