Template:PreservedEnt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Shuffle around)
(or maybe this is enough)
Line 12: Line 12:


<onlyinclude>{{#switch: {{language}}
<onlyinclude>{{#switch: {{language}}
|#default={{important|This is a [[s_PreserveEnts|preserved entity]]{{#ifeq:{{{1}}}|all||&nbsp;in {{PreservedEnt/switch|{{{1|{{SUBPAGENAME}}}}}}}}}.<br>If the game has round restart mechanics this entity may not behave as expected:
|#default={{important|This is a [[s_PreserveEnts|preserved entity]]{{#ifeq:{{{1}}}|all||&nbsp;in {{PreservedEnt/switch|{{{1|{{SUBPAGENAME}}}}}}}}}.<br>
{{expand|noborder=1|title=If the game has round restart mechanics this entity may not behave as expected|
* On a new round entities with this classname will '''intentionally not reset'''. You can use {{ent|logic_auto}} to emulate resetting it.
* On a new round entities with this classname will '''intentionally not reset'''. You can use {{ent|logic_auto}} to emulate resetting it.
* [[Kill|Killing]] it removes it forever, as '''it is not respawned''' on a new round.
* [[Kill|Killing]] it removes it forever, as '''it is not respawned''' on a new round.
* It cannot be spawned with a {{ent|point_template}}.
* It cannot be spawned with a {{ent|point_template}}.
* Parenting this with non-preserved entities may have [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|undesirable effects]].
* Parenting this with non-preserved entities may have [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|undesirable effects]].
}}
}}}}
|de={{Note|{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | Dies ist | {{{1}}} ist dies}} | In manchen/allen Multiplayer-Spielen ist dies}} ein {{L|s_PreserveEnts|aufbewahrtes Objekt}}.
|de={{Note|{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | Dies ist | {{{1}}} ist dies}} | In manchen/allen Multiplayer-Spielen ist dies}} ein {{L|s_PreserveEnts|aufbewahrtes Objekt}}.
* Zu jedem Rundenbeginn werden die Eigenschaften dieses Objektes (einschließlich Position) '''absichtlich nicht zurückgesetzt'''. {{Workaround:de|Wenn dies ein Problem ist, lässt sich mit {{ent|logic_auto}} das Zurücksetzen simulieren.}}
* Zu jedem Rundenbeginn werden die Eigenschaften dieses Objektes (einschließlich Position) '''absichtlich nicht zurückgesetzt'''. {{Workaround:de|Wenn dies ein Problem ist, lässt sich mit {{ent|logic_auto}} das Zurücksetzen simulieren.}}

Revision as of 08:48, 2 May 2025

English (en)Deutsch (de)Русский (ru)中文 (zh)

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

Wikitext Result
{{PreservedEnt | player}}
Icon-Important.pngImportant: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.
If the game has round restart mechanics this entity may not behave as expected
  • 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.