info_landmark_exit

From Valve Developer Community
Revision as of 13:20, 12 December 2025 by Luke18033 (talk | contribs) (add note about entity name)
Jump to navigation Jump to search

info_landmark_exit is a point entity available in Portal 2 Portal 2. When a point_changelevel is used, if the current map contains an info_landmark_exit and the destination map contains an info_landmark_entry, the player's offset relative to the exit landmark will be applied relative to the entry landmark in the next map. Otherwise, this entity has no special functionality on its own.

Note.pngNote:The entity's name is forced to __p2_landmark on spawn, so other names cannot be used without AddOutput.

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also: Generic Keyvalues, Inputs and Outputs available to all entities

See also