commentary_auto

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
It should not be placed (in Hammer) because there's no reason to; it should be spawned through a commentary file.

Code classes:

commentary_auto is a point entity present in all Source games. In commentary mode, this entity acts similar to a logic_auto in that it fires I/O automatically when certain things happen.

Inputs[edit | edit source]

MultiplayerSpawned
Makes OnCommentaryMultiplayerSpawn fire. Automatically sent by players in Tf2.png when they spawn or respawn.

Outputs[edit | edit source]

OnCommentaryNewGame
Fires when the map is loaded in commentary mode (usually done with the map_commentary command).
OnCommentaryMidGame
Fires when the game switches into commentary mode (usually done by setting commentary 1).
OnCommentaryMultiplayerSpawn
Fires when the MultiplayerSpawned input is sent. Fires in Tf2.png when players spawn or respawn.

See Also[edit | edit source]