Func block dm spawns: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{subpage|[[CS:GO Game Modes/Deathmatch]]}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{subpage|[[CS:GO Game Modes/Deathmatch]]}}
{{ent not in fgd}}
{{ent not in fgd}}
{{CD|CFuncBlockDMSpawns|CFuncBrush}}
{{CD|CFuncBlockDMSpawns|CFuncBrush}}

Revision as of 09:32, 8 January 2024

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CFuncBlockDMSpawns
CFuncBrush
CBaseEntity

func_block_dm_spawns is an e2 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 is a subclass of func_brush, see that page for KeyValues/Inputs/Outputs. This entity starts invisible and non-solid.

KeyValues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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."
[
]