trigger_endsection
Last edited 1 year ago2023-07-02 20:31:30 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.
This entity ends the current game and returns the player to the Half-Life main menu.
Attributes
- Name (targetname) - Property used to identify entities.
- Section (section) - The type of game to end. Values are:
_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) - Entity cannot be triggered by the player walking into it, but must be triggered by another entity.
Notes
- This entity won't work if the 'section' attribute is left empty.
- In order to work properly, trigger_endsection must have player as it's activator. You can't fire trigger_endsection via a multi_manager because in that case the activator will be the multi_manager. The most reliable ways to fire trigger_endsection are:
- If you use a multi_manager or a multisource, player will no longer count as the activator.
-
barney
–
Updated page for new wiki processing format
Comments
You must log in to post a comment.
You can login or register a new account.