This article's documentation is for anything that uses the Source engine. Click here for more information.

Info intermission: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
((Code is uncommented in HLSDK))
Line 5: Line 5:
{{this is a|point entity|name=info_intermission}} It defines a spot where dead [[player]]s spawn as observers. If no info_intermission exist they spawn looking at their corpse.  
{{this is a|point entity|name=info_intermission}} It defines a spot where dead [[player]]s spawn as observers. If no info_intermission exist they spawn looking at their corpse.  


{{Note|Doesn't work in {{l4d2|4}}. It is also deprecated for {{bms|4}}, use {{ent|info_observer_menu}} instead for this game.}}
{{Note|Doesn't work in {{l4d2|4}}. In {{bms|4}}, use {{ent|info_observer_menu}} instead.}}
{{todo|Add list of games it works in.}}
{{confirm|Does it work in any {{src}} games? Related player.cpp code is commented-out in all versions of the {{srcsdk|2}}.}}


== KeyValues ==
== KeyValues ==
{{KV|Entity to look at|intn=target|target_destination|Name of entity that dead players will face while in intermission at this spot.}}
{{KV|Entity to look at|intn=target|target_destination|Name of entity that dead players will face while in intermission at this spot.}}

Revision as of 11:44, 16 November 2025

English (en)Translate (Translate)
C++ Class hierarchy
CInfoIntermission
CPointEntity
CBaseEntity
C++ intermission.cpp

info_intermission is a point entity available in all Source Source games. It defines a spot where dead players spawn as observers. If no info_intermission exist they spawn looking at their corpse.

Note.pngNote:Doesn't work in Left 4 Dead 2 Left 4 Dead 2. In Black Mesa Black Mesa, use info_observer_menu instead.
Confirm:Does it work in any Source games? Related player.cpp code is commented-out in all versions of the Source SDK Source SDK.

KeyValues

Entity to look at (target) <targetname>
Name of entity that dead players will face while in intermission at this spot.