Info changelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Flags: pointless)
m (clean up, replaced: See Also → See also, {{Language subpage → {{langsp)
Line 1: Line 1:
{{Language subpage}}
{{langsp}}


{{{entity}}} It is the entity that marks a level change.
{{{entity}}} It is the entity that marks a level change.
Line 24: Line 24:
{{IO|{{Strikethrough|OnChangeLevel}}|{{Strikethrough|Fired when the level changes.}}{{note|This output is in fgd but doesn't exist in-game.}}}}
{{IO|{{Strikethrough|OnChangeLevel}}|{{Strikethrough|Fired when the level changes.}}{{note|This output is in fgd but doesn't exist in-game.}}}}


== See Also ==
== See also ==
* [[Level Transitions]]
* [[Level Transitions]]
* {{Ent|info_landmark}}
* {{Ent|info_landmark}}

Revision as of 01:20, 4 January 2024

English (en)Translate (Translate)

{{{entity}}} It is the entity that marks a level change. It safely changes the level in Left 4 Dead series, and defines the end-of-level safe room. It is unusual as it is a brush entity, where info_* entities are typically point entities. Place an info_landmark in both maps that marks the same location in each map. In Hammer, info_changelevel will be listed in entity class selection menu when tied to a brush as an entity.

KeyValues

Name (targetname) <string>
Name of this landmark.
New Map Name (map) <string>
The filename of the next map (without ".bsp").
Warning.pngWarning:Setting this to current map’s name or not setting it will cause info_changelevel not to spawn.
Landmark Name (landmark) <targetname>
Changes of positions will take place on transition relative to this landmark.

Flags

Disable Touch
Icon-Bug.pngBug:Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead.  [todo tested in ?]
 : [2]
To Previous Chapter : [4]
Note.pngNote:No usage in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series

Inputs

Enable  !FGD
Disable  !FGD
Enable/disable this entity from performing its task

Outputs

OnChangeLevel
Fired when the level changes.
Note.pngNote:This output is in fgd but doesn't exist in-game.

See also