Point changelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
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.
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.
{{Note|Portal 2 maps trigger this entity after a fade out using a [[env_fade]] entity set to 0.3 seconds.}}


==Keyvalues==
==Keyvalues==

Revision as of 15:30, 28 December 2017

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.pngNote: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