func_block_dm_spawns

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Info.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Class hierarchy
CFuncBlockDMSpawns
CFuncBrush
CBaseEntity

func_block_dm_spawns is a brush entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity Description

This entity is used to block randomly generated player spawns, typically for CS:GO/CS2 Deathmatch Deathmatch. Any potential origin for an info_deathmatch_spawn is discarded if it is inside the AABB (!) of this entity. If random deathmatch spawns are disabled with info_map_parameters, then this entity has no effect.

Note.pngNote:This entity does not remove any info_deathmatch_spawn entities that are already inside the AABB of this entity!
Note.pngNote:This entity starts invisible and non-solid. All Keyvalues / Inputs / Outputs are same as func_brush.

FGD Code

The SetExcluded and SetInvert inputs have been omitted because they have no effect in Counter-Strike: Global Offensive.

@SolidClass base(Targetname, Parentname) = func_block_dm_spawns:
	"This entity is used to block randomly generated player spawns, typically for Deathmatch.\n" +
	"Any potential origin for an info_deathmatch_spawn is discarded if it is inside the AABB (!) of this entity.\n" +
	"If random deathmatch spawns are disabled with info_map_parameters, then this entity has no effect."
[
]