Env hudhint: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Note:In
Note:In  Left 4 Dead and later, the message will only show to the !activator unless it's singleplayer.
 Left 4 Dead and later, the message will only show to the !activator unless it's singleplayer.
 Note:In
Note:In  Garry's Mod env_hudhint is removed.
 Garry's Mod env_hudhint is removed.
 Warning:Entering raw text will not allow the message to be translated between user languages.
Warning:Entering raw text will not allow the message to be translated between user languages.
 Note:In
Note:In  and potentially other games, the % character interacts differently with text.  Displaying keybinds found in the resource folder may force any text after the % character to display on a new line.
 and potentially other games, the % character interacts differently with text.  Displaying keybinds found in the resource folder may force any text after the % character to display on a new line.
		
	
| mNo edit summary | No edit summary | ||
| Line 3: | Line 3: | ||
| {{CD|CEnvHudHint}} | {{CD|CEnvHudHint}} | ||
| __NOTOC__ | __NOTOC__ | ||
| {{note|In  | {{note|In {{l4d|4}} and later, the message will only show to the !activator unless it's singleplayer.}} | ||
| {{note|In  | {{note|In {{gmod|4}} env_hudhint is removed.}} | ||
| [[File:Hudhint.png|right]] | [[File:Hudhint.png|right]] | ||
Revision as of 00:17, 23 August 2023
Template:Entity It is used to control the display of HUD hints, which show the player what key is bound to a particular command.
|  Class hierarchy | 
|---|
| CEnvHudHint | 
 Note:In
Note:In  Left 4 Dead and later, the message will only show to the !activator unless it's singleplayer.
 Left 4 Dead and later, the message will only show to the !activator unless it's singleplayer. Note:In
Note:In  Garry's Mod env_hudhint is removed.
 Garry's Mod env_hudhint is removed.Flags
- All Players (removed since  ) : [1] ) : [1]
- Show the message to everyone on the server (otherwise show to !activator only)
Keyvalues
- Hint Text (localized) (message) <string>
- This should be match a HUD hint entry in hl2\resource\valve_english.txtor its localized equivalent. Example: entering "#Valve_Hint_Zoom" (without the quotation marks) will display the following hint text: "%+zoom% ZOOM VIEW", with %+zoom% being the key currently bound to the zoom function.
 Warning:Entering raw text will not allow the message to be translated between user languages.
Warning:Entering raw text will not allow the message to be translated between user languages. Note:In
Note:In  and potentially other games, the % character interacts differently with text.  Displaying keybinds found in the resource folder may force any text after the % character to display on a new line.
 and potentially other games, the % character interacts differently with text.  Displaying keybinds found in the resource folder may force any text after the % character to display on a new line.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- ShowHudHint
- Shows the hint message.
- HideHudHint
- Hides the hint message.
See Also
- env_message - A similar entity that displays other predefined messages on the screen.
- env_instructor_hint - Another similar entity used in  Left 4 Dead 2 and newer games. Left 4 Dead 2 and newer games.


























