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
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(Added that removing this entity will block all scenes from loading. Removing it doesn't necessary crash the game.)
Line 2: Line 2:
{{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 -->
{{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 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 ==
==See also==
* {{ent|scripted_scene}}
* {{ent|scripted_scene}}
* {{ent|instanced_scripted_scene}}
* {{ent|instanced_scripted_scene}}

Revision as of 13:19, 4 September 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 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