Template:PreservedEnt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(using simple switch instead of autolang)
No edit summary
Line 26: Line 26:


-->{{#if: {{NAMESPACE}}|| <!-- only if the namespace is empty, so especially not in templates
-->{{#if: {{NAMESPACE}}|| <!-- only if the namespace is empty, so especially not in templates
-->[[Category:Round-Preserved Entities]]<!--
-->{{ACategory|Round-Preserved Entities}}<!--
-->}}<!--
-->}}<!--



Revision as of 03:30, 18 July 2024

{{SUBPAGENAME}} is automatically filled as first parameter if it's not specified

Wikitext Result
{{PreservedEnt | player}}
Note.pngNote:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Alien SwarmAlien Swarm: Reactive DropPortal 2Counter-Strike: Global Offensive.
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non preserved entities may have undesirable effects.