commentary_auto

From Valve Developer Community
Revision as of 16:00, 1 July 2017 by Blixibon (talk | contribs) (Removed orphan status.)
Jump to navigation Jump to search


Stub

This article or section is a stub. You can help by expanding it.

commentary_auto is a point entity available in all games with the Commentary System implemented, including Half-Life 2: Episode One and Team Fortress 2.

Entity Description

Fires outputs based on how commentary mode has been activated. Unlike logic_auto, a similar entity, commentary_auto cannot read global states or remove itself after firing. This entity is not in the default FGD files for any of its games, nor does it appear to be an option in the Commentary Editor. Regardless, this entity only functions when used in a commentary file.

Outputs

  • OnCommentaryNewGame
Fires when a new game is started with commentary enabled.
  • OnCommentaryMidGame
Fires when commentary is enabled midgame.
  • OnCommentaryMultiplayerSpawn
[Todo]