logic_menulistener
logic_menulistener
is a point entity available in SiN Episodes. Allows maps to respond to player inputs in the main menu. It can be used both when playing a map while having the pause menu open and when on the main menu with a map running as the background. It can fire an output if the player either hovers or presses a button of a specific type on the menu. This entity was originally planned for use in the background maps during a normal startup of the game but was cut for unknown reasons, but can be thought of being too annoying for the end user. It can still be enabled in a background map by making sure 'background01' is loaded as it is the only background map with this by default, then type into the console 'sv_cheats 1; ent_fire relay_NewGame enable' which will temporarily enable it until map reloading.
Keyvalues
- Name
(targetname)
<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
Outputs
ResumeGameMousedOver
ResumeGamePressed
- Fires if the user clicks/hover on 'Resume Game'.
NewGameMousedOver
NewGamePressed
- Fires if the user clicks/hover on 'New Game'.
OptionsMousedOver
OptionsPressed
- Fires if the user clicks/hover on 'Options'.
LoadGameMousedOver
LoadGamePressed
- Fires if the user clicks/hover on 'Load Game'.
SaveGameMousedOver
SaveGamePressed
- Fires if the user clicks/hover on 'Save Game'.
StatsMousedOver
StatsPressed
- Fires if the user clicks/hover on 'Stats'.
FriendsMousedOver
FriendsPressed
- Fires if the user clicks/hover on 'Friends'.
QuitMousedOver
QuitPressed
- Fires if the user clicks/hover on 'Quit'.
OnUse
- Fired when the
Use
input is given.