Commentary auto: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Revision + Critical discovery)
m (Removed orphan status.)
Line 2: Line 2:


{{stub}}
{{stub}}
{{orphan}}


'''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]].
'''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]].

Revision as of 16:00, 1 July 2017


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]