trigger_changelevel
Last edited 2 years ago2022-12-16 11:35:08 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
Brush EntityThis entity causes a level transition, where a new map is loaded and the player is placed in it.
Attributes
- Name (targetname) - Property used to identify entities.
- New map name (map) - The name of the new map to load.
- Landmark name (landmark) - The name of the info_landmark that defines the same point in space in both maps.
- Change Target (changetarget) - The entity name to be triggered in the next map. Works similar to a trigger_auto.
- Delay before change target (changedelay) - Self-explanatory.
Flags
- No Intermission (1) - This flag appears to be unused and has no effect.
- USE Only (2) - Entity can only be triggered by another event.
Notes
- It's recommended to keep your map names short with no capital letters, spaces, or special characters. Instead of "Chapter 3 Level 5", try c3l5 or ch3_lvl5.
- It's recommended to follow the same naming conventions for landmarks - no capital letters or spaces / special characters.
Related pages
3 Comments
You must log in to post a comment.
You can login or register a new account.
Out of curiosity I looked up trigger_changelevel in the Half-Life SDK and it appears it only defines the "USE Only" flag and this is the only flag it checks against.
It seems it's a leftover from Quake where after a level change was triggered it would switch camera to an info_intermission during the "monsters killed/secrets found" screen, unless the flag was checked. While this functionality was removed in Half-Life, the flag remained.
TLDR: The "No Intermission" flag doesn't do anything and is just a leftover from Quake.