trigger_endsection

From Valve Developer Community
Jump to: navigation, search

trigger_endsection is a brush entity available in the following GoldSrc GoldSrc games or engine branches:
Half-Life Half-LifeHalf-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


Targetname:
Name (targetname) <targetname>
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 the demo. Same as above, but also attempts to open media/order/default.html.

Flags

  •  [1] : USE Only