Template:PreservedEnt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added unnamed parameter to override the first half sentence and documentation to it.)
(Added two notes (Kill, point_template). Warning -> Note.)
Line 1: Line 1:
<noinclude>{{lang|Template:PreservedEnt}}</noinclude><includeonly>
{{lang|Template:PreservedEnt}}
{{warning|{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | T | {{{1}}}, t }} | In some/all multiplayer games, t}}his is a [[s_PreserveEnts|preserved entity]] which will '''intentionally not reset itself''' to its default properties (including position) when a new round begins. If this is an issue, use [[logic_auto]] to emulate resetting it.}}
<onlyinclude><includeonly>{{note|{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | T | {{{1}}}, t }} | In some/all multiplayer games, t}}his is a [[s_PreserveEnts|preserved entity]].
[[Category:Round-Preserved Entities]]</includeonly><noinclude>
* On a new round, it will '''intentionally not reset itself''' to its default properties (including position). {{workaround|If this is an issue, you can use [[logic_auto]] to emulate resetting it.}}
* <code>Kill</code>ing it removes it forever, as '''it is not respawned''' on a new round.
* It cannot be spawned with a [[point_template]].
}} [[Category:Round-Preserved Entities]]</includeonly></onlyinclude>
 
{| class=standard-table
{| class=standard-table
! Wikitext !! Result
! Wikitext !! Result
Line 14: Line 18:
| {{PreservedEnt|0}}
| {{PreservedEnt|0}}
|}
|}
</noinclude>

Revision as of 20:17, 1 September 2021


Wikitext Result
{{PreservedEnt}}
Note.pngNote:In some/all multiplayer games, this is a preserved entity.
  • On a new round, it will intentionally not reset itself to its default properties (including position).
    PlacementTip.pngWorkaround:If this is an issue, 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.
{{PreservedEnt|In all games except {{hl2dm}}}}
Note.pngNote:In all games except Half-Life 2: Deathmatch, this is a preserved entity.
  • On a new round, it will intentionally not reset itself to its default properties (including position).
    PlacementTip.pngWorkaround:If this is an issue, 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.
{{PreservedEnt|0}}
Note.pngNote:This is a preserved entity.
  • On a new round, it will intentionally not reset itself to its default properties (including position).
    PlacementTip.pngWorkaround:If this is an issue, 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.