trigger_endsection

From Valve Developer Community
Revision as of 14:57, 12 March 2024 by N0one (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

trigger_endsection is an e2 available in Half-Life Half-Life, Half-Life: Blue Shift Half-Life: Blue Shift, and Half-Life: Opposing Force Half-Life: Opposing Force.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

This entity ends the current game and returns the player to the Half-Life 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 the demo. Same as above, but also attempts to open media/order/default.html.

Flags

USE Only : [1]