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

Scene manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{CD|CSceneManager|file1=sceneentity.cpp}}
{{CD|CSceneManager|file1=sceneentity.cpp}}
{{this is a|name=scene_manager|e0}} This entity exists to call think on all scene entities in a deterministic order. <!-- comment from source code -->
{{this is a|point entity|name=scene_manager}} This entity exists to call think on all scene entities in a deterministic order. <!-- comment from source code -->
{{PreservedEnt|scene_manager}}
{{PreservedEnt|scene_manager}}
{{warning|Killing this entity crashes the game.}}
{{warning|Killing this entity crashes the game.}}

Revision as of 20:06, 17 May 2024

C++ Class hierarchy
CSceneManager
CBaseEntity
C++ sceneentity.cpp

scene_manager is a point entity available in all Source Source games. This entity exists to call think on all scene entities in a deterministic order.

Icon-Important.pngImportant:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Alien SwarmAlien Swarm: Reactive DropPortal 2Counter-Strike: Global Offensive.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.
Warning.pngWarning:Killing this entity crashes the game.

See also