env_hudhint
Jump to navigation
Jump to search
env_hudhint is a point entity available in all
Source games.
| env_hudhint | |
|---|---|
![]() | |
| Type | Point entity |
| Engine | |
| Availability | In all games |
| CEnvHudHint |
It is used to control the display of HUD hints, which show the player what key is bound to a particular command.
Flags
- All Players (removed since
) : [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.
- 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.

