Point changelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


==Entity description==
==Entity description==
Level Change Entity.
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==
==Keyvalues==
Line 16: Line 18:
{{IO|OnChangeLevel|Fired when the level is about to change.}}
{{IO|OnChangeLevel|Fired when the level is about to change.}}
{{O Targetname}}
{{O Targetname}}
==See Also==
*[[Level Transitions]]

Revision as of 15:28, 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: 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