Point changelevel

From Valve Developer Community
Revision as of 15:28, 28 December 2017 by Theevina (talk | contribs)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Template:Portal2 point

Entity description

Used to make an easy, one-way map transition. No info_landmark or trigger brushes are needed. They player will spawn at info_player_start at the destination map.

Note: Portal 2 maps trigger this entity after a fade out using a env_fade entity set to 0.3 seconds.

Keyvalues

Name (targetname) <string>[ Edit ]
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

Inputs

ChangeLevel <stringRedirectInput/string>
Changes the level to the map name supplied as a parameter.


Outputs

OnChangeLevel
Fired when the level is about to change.


See Also