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

scene_manager

From Valve Developer Community
Revision as of 13:19, 4 September 2024 by Wormsweat (talk | contribs) (Added that removing this entity will block all scenes from loading. Removing it doesn't necessary crash the game.)
Jump to navigation Jump to search
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 may crash the game. It also will block all scenes from being played. The game may create this entity if it gets removed. The scenes may still get blocked by then. Creating a save and loading it fixes this problem.

See also