Template:Hl1 Appearflags: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>{{fl|2048|Not In [[Deathmatch]]|Prevent this entity from attempting to spawn when {{cmd|deathmatch}} (multiplayer) is enabled.{{tip|This is intercepted ''before'' the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the [[edict]] limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as [[monster]]s and {{ent|info_null|engine=goldsrc}}, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.}} }}</onlyinclude>
; <code><nowiki>{{hl1 Appearflags}}</nowiki></code>
<onlyinclude>{{fl|2048|Not In [[Deathmatch]]|Prevent this entity from attempting to spawn when {{cmd|deathmatch}} (multiplayer) is enabled.{{#if:{{{never in deathmatch|}}}|{{tip|This is intercepted ''before'' the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the [[edict]] limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as [[monster]]s and {{ent|info_null|engine=goldsrc}}, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.}}|}} }}</onlyinclude>
 
; <code><nowiki>{{hl1 Appearflags|never in deathmatch=1}}</nowiki></code>
{{hl1 Appearflags|never in deathmatch=1}}
[[Category:Flag Templates|Appearflags]]
[[Category:Flag Templates|Appearflags]]

Revision as of 14:16, 26 October 2025

{{hl1 Appearflags}}
Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.
{{hl1 Appearflags|never in deathmatch=1}}
Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.
Tip.pngTip:This is intercepted before the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the edict limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as monsters and info_null, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.