trigger_endsection
Last edited 1 year ago2023-06-17 15:10:54 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 Entity
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:
- player -> trigger_once -> trigger_endsection
- player -> trigger_once -> trigger_relay -> trigger_endsection
- If you use a multi_manager or a mutlisource, 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.