director_resource

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CDirectorResource
CBaseEntity
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map, because it spawns automatically when requaried, also useless for general user.

director_resource is a logical entity available in Black Mesa Black Mesa. It is the director from elimination game mode. This entity controls waves, stages, active scenario ID and active scene ID. Spawns automatically with multiplayer game if mp_coop are using 1 value. All inputs and outputs are same as CBaseEntity.

Note.pngNote: Kill on this entity will cause game crash.
Icon-Important.pngImportant: This is a preserved entity. With the game round restart mechanics, this entity may not behave as expected.
Icon-Bug.pngBug:Sometimes ent_text director_resource and ent_info director_resource cause null pointer situation, the reason is unknown.
NullPrtDirectorResource.jpg