This article's documentation is for the "GoldSrc" engine. Click here for more information.

Trigger endsection (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{This is a|name=trigger_endsection|e2|engine=1|game=Half-Life|game1=Half-Life: Blue Shift|game2=Half-Life: Opposing Force}} This entity ends the current game and returns the...")
 
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{This is a|name=trigger_endsection|e2|engine=1|game=Half-Life|game1=Half-Life: Blue Shift|game2=Half-Life: Opposing Force}} This entity ends the current game and returns the player to the Half-Life main menu.
{{this is a|brush entity|name=trigger_endsection|engine=GoldSrc|game=Half-Life|game1=Half-Life: Blue Shift|game2=Half-Life: Opposing Force}} This entity ends the current game and returns the player to the main menu.


== Key Values ==
== Key Values ==
Line 6: Line 6:
:*'''oem_end_training''' - takes the player back to the main menu
:*'''oem_end_training''' - takes the player back to the main menu
:*'''oem_end_logo''' - same as above
:*'''oem_end_logo''' - same as above
:*'''oem_end_demo''' - This was used in the demo. Same as above, but also attempts to open media/order/default.html.
:*'''oem_end_demo''' - This was used in [https://combineoverwiki.net/wiki/Half-Life:_Day_One Half-Life: Day One]. Same as above, but also attempts to open {{path|icon=file|media/order/default|html}}.


== Flags ==
== Flags ==
{{fl|1|USE Only}}
{{fl|1|USE Only}}
[[Category:Half-Life Entities]]

Latest revision as of 19:28, 27 May 2025

trigger_endsection is a brush entity available in Half-Life Half-Life, Half-Life: Blue Shift Half-Life: Blue Shift, and Half-Life: Opposing Force Half-Life: Opposing Force. This entity ends the current game and returns the player to the main menu.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Section (section) <string>
The type of game to end.
  • oem_end_training - takes the player back to the main menu
  • oem_end_logo - same as above
  • oem_end_demo - This was used in Half-Life: Day One. Same as above, but also attempts to open Filemedia/order/default.html.

Flags

USE Only : [1]