Func block dm spawns: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{lang|func_block_dm_spawns}} {{ent not in fgd}} {{back|CS:GO Gamemodes: Deathmatch}} {{csgo brush|func_block_dm_spawns}} ==Entity Description== This entity is used to block r...")
 
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{lang|func_block_dm_spawns}}
{{LanguageBar}}{{subpage|[[CS:GO Game Modes/Deathmatch]]}}
{{ent not in fgd}}
{{ent not in fgd}}
{{back|CS:GO Gamemodes: Deathmatch}}
{{CD|CFuncBlockDMSpawns|CFuncBrush}}
{{csgo brush|func_block_dm_spawns}}
{{this is a|brush entity|name=func_block_dm_spawns|game=Counter-Strike: Global Offensive}}
 
==Entity Description==
==Entity Description==
This entity is used to block randomly generated player spawns in {{csgo mode|Dm}}.
This entity is used to block [[dm_reset_spawns|randomly generated]] player spawns, typically for {{csgo mode|Dm}}.
Any potential origin for an [[info_deathmatch_spawn]] is discarded if it is inside the '''[[AABB]]''' (!) of this entity.
Any potential origin for an {{ent|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.
If random deathmatch spawns are disabled with {{ent|info_map_parameters}}, then this entity has no effect.
{{Note|This entity '''does not remove''' any [[info_deathmatch_spawn]] entities that are already inside the AABB of this entity!}}
{{Note|This entity '''does not remove''' any <tt>info_deathmatch_spawn</tt> entities that are already inside the AABB of this entity!}}
{{Note|The inputs <code>Enable/Disable/Toggle</code> affect this entity's solidity and visibility, like [[func_brush]]. It starts invisible and non-solid.}}
{{otherKIO|func_brush|This entity starts invisible and non-solid. All}}
==KeyValues==
 
{{KV BaseEntity|brush=1}}
==Inputs==
{{IO|SetExcluded|param=targetname|Change the NPC class excluded from collisions}}
{{IO|SetInvert|param=bool|Set the state of invversion for NPC class exclusion (0 or 1)}}
{{I EnableDisable}}
{{I BaseEntity}}
==Outputs==
{{O BaseEntity}}
==FGD Code==
==FGD Code==
The <code>SetExcluded</code> and <code>SetInvert</code> inputs have been omitted because they have no effect in {{csgo}}.
The <code>SetExcluded</code> and <code>SetInvert</code> inputs have been omitted because they have no effect in {{csgo}}.
<pre>
{{pre|
@SolidClass base(Targetname, Parentname ) = func_block_dm_spawns:
@SolidClass base(Targetname, Parentname) {{=}} func_block_dm_spawns:
"This entity is used to block randomly generated player spawns in Deathmatch.\n" +
"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" +
"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."
"If random deathmatch spawns are disabled with info_map_parameters, then this entity has no effect."
[
[
]
]
</pre>
}}

Latest revision as of 17:55, 18 July 2025

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