Trigger transition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Replaced {{only}}. Used more of {{ent}}.)
Line 3: Line 3:
{{back|Level Transitions}}
{{back|Level Transitions}}
{{base brush|trigger_transition}}
{{base brush|trigger_transition}}
It controls which [[entity|entities]] go through a [[Level Transitions|level transition]]. Trigger_transitions should be named the same as the [[info_landmark]] which is associated with a particular [[trigger_changelevel]]. Any entities which are within the trigger_transition brush volume will then go to the next map. The [[player]] must also be inside the brush volume.
It controls which [[entity|entities]] go through a [[Level Transitions|level transition]]. Trigger_transitions should be named the same as the {{ent|info_landmark}} which is associated with a particular [[trigger_changelevel]]. Any entities which are within the trigger_transition brush volume will then go to the next map. The [[player]] must also be inside the brush volume.


In [[Portal 2]], transition triggers can also be used with {{ent|point_changelevel}}. In this case, the entity does not need to be named.
In {{portal2|2}}, transition triggers can also be used with {{ent|point_changelevel}}. In this case, the entity does not need to be named.


==Keyvalues==
==Keyvalues==
Line 20: Line 20:
== See also ==
== See also ==
* [[Level Transitions]]
* [[Level Transitions]]
* [[info_landmark]]
* {{ent|info_landmark}}
* [[trigger_changelevel]]
* {{ent|trigger_changelevel}}
* [[trigger_transition]]
* {{ent|trigger_transition}}
* [[point_changelevel]] {{only|{{portal2}}}}
* {{ent|point_changelevel}} {{portal2|only}}
* [[info_changelevel]] {{only|{{l4ds}}}}
* {{ent|info_changelevel}} {{l4ds|only}}

Revision as of 14:48, 15 June 2022

English (en)中文 (zh)Translate (Translate)
Level Transitions

Template:Base brush It controls which entities go through a level transition. Trigger_transitions should be named the same as the info_landmark which is associated with a particular trigger_changelevel. Any entities which are within the trigger_transition brush volume will then go to the next map. The player must also be inside the brush volume.

In Portal 2 Portal 2, transition triggers can also be used with point_changelevel. In this case, the entity does not need to be named.

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

Outputs

See also