info_landmark_entry / info_landmark_exit

From Valve Developer Community
Revision as of 07:34, 13 December 2025 by Breakin' Benny (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)

{{Source topicon}} is deprecated. This wiki no longer uses any top icons due to their inconsistent coverage and visual clutter. Do not use these templates.

info_landmark_entry and info_landmark_exit are point entities available in Portal 2 Portal 2.

Both are tied to the same class in code. 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, these entities have no special functionality on their own.

Note.pngNote: The names of these entities are 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