game_menu
game_menu is a point entity available
with Mapbase v8.0 or later.An entity that opens number menus.
KeyValues
- Hold Time (holdtime) <float>
The time the menu should stay onscreen before it closes automatically. The OnTimeout output will be fired if the player doesn't select an option in time. Specify '-1' for infinite hold time.
The time the menu should stay onscreen before it closes automatically. The OnTimeout output will be fired if the player doesn't select an option in time. Specify '-1' for infinite hold time.
- Title (Title) <string>
If specified, this will be placed above all of the options. Localization is supported.
If specified, this will be placed above all of the options. Localization is supported.
- Case 01 (Case01) <string>
If specified, this will be the 1st option in the menu. Localization is supported.
If specified, this will be the 1st option in the menu. Localization is supported.
- Case 02 (Case02) <string>
If specified, this will be the 2nd option in the menu. Localization is supported.
If specified, this will be the 2nd option in the menu. Localization is supported.
- Case 03 (Case03) <string>
If specified, this will be the 3rd option in the menu. Localization is supported.
If specified, this will be the 3rd option in the menu. Localization is supported.
- Case 04 (Case04) <string>
If specified, this will be the 4th option in the menu. Localization is supported.
If specified, this will be the 4th option in the menu. Localization is supported.
- Case 05 (Case05) <string>
If specified, this will be the 5th option in the menu. Localization is supported.
If specified, this will be the 5th option in the menu. Localization is supported.
- Case 06 (Case06) <string>
If specified, this will be the 6th option in the menu. Localization is supported.
If specified, this will be the 6th option in the menu. Localization is supported.
- Case 07 (Case07) <string>
If specified, this will be the 7th option in the menu. Localization is supported.
If specified, this will be the 7th option in the menu. Localization is supported.
- Case 08 (Case08) <string>
If specified, this will be the 8th option in the menu. Localization is supported.
If specified, this will be the 8th option in the menu. Localization is supported.
- Case 09 (Case09) <string>
If specified, this will be the 9th option in the menu. Localization is supported.
If specified, this will be the 9th option in the menu. Localization is supported.
- Case 10 (0) (Case10) <string>
If specified, this will be the 0th option in the menu. This option will not have a visual effect when selected. Localization is supported.
If specified, this will be the 0th option in the menu. This option will not have a visual effect when selected. Localization is supported.
Flags
- [1] All Players : 1
- [2] Centered : 2
- [4] Center Fill : 4
- [8] Use big fonts (if available) : 8
- [16] No flash : 16
- [32] Word wrap : 32
Inputs
- ShowMenu
<void>
Shows the menu to the player.
Shows the menu to the player.
- HideMenu
<void>
Hides the menu from the player.
Hides the menu from the player.
Outputs
- OnCase01
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase02
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase03
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase04
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase05
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase06
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase07
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase08
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase09
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OnCase10
<void>
Fired when a player selects this option.
Fired when a player selects this option.
- OutValue
<integer>
Fired when a player selects any option, using the selected option as a parameter.
Fired when a player selects any option, using the selected option as a parameter.
- OnTimeout
<void>
Fired when a player doesn't select an option in time.
Fired when a player doesn't select an option in time.
