Env hudhint: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Warning:If an unlocalized string (ex. "%+USE to use") is typed directly in editor, then Hammer will become confused the next time that VMF is loaded, and freeze during the process!  See Keyvalue "message".
		
	
Craziestdan (talk | contribs)  (→Availability:   Removed dead links)  | 
				m (Robot: fixing template case.)  | 
				||
| Line 20: | Line 20: | ||
*'''ShowHudHint'''  | *'''ShowHudHint'''  | ||
:Shows the hint message.  | :Shows the hint message.  | ||
*'''{{  | *'''{{EP1 add|HideHudHint}}'''  | ||
: Hides the hint message.  | : Hides the hint message.  | ||
Revision as of 18:19, 19 January 2009
Template:Wrongtitle Template:Base point
Entity description
An entity to control the display of HUD hints. HUD hints are used to show the player what key is bound to a particular command.
Availability
Template:In game Template:Game-base In code it is represented by class CEnvHudHint, defined in EnvHudHint.cpp.
Keyvalues
- Template:Kv Targetname
 - message
 
- <string> This should be set to match the desired HUD hint entry in the 
hl2\resource\valve_english.txtfile packed within theSteam/SteamApps/source engine.gcffile. 
Inputs
- ShowHudHint
 
- Shows the hint message.
 
- HideHudHint (in all games since 
) 
- Hides the hint message.
 
Outputs
See also
- env_message - A similar entity that displays other predefined messages on the screen.