env_hudhint

From Source Entities
Jump to navigation Jump to search

Code classes:

env_hudhint is a point entity present in all Source games. It is used to display HUD hints. If there are multiple players, the message will only show to the !activator or the first player on the server. No appearance in L4d.pngL4d2-small.pngAsw.pngP2.png.

Hudhint.png
Hudhint 2.png

Flags[edit | edit source]

  • 1: All Players (only available in Hl2.pngP1.pngDods.pngCss.pngTf2.png) - Shows the message to everyone on the server.

Keyvalues[edit | edit source]

Hint Text (localized) (message) <string>
This should match a HUD hint entry in \resource\valve_english.txt or a similar file. Example: entering "#Valve_Move_Forward" (without the quote marks!) will tell the player which key is used to move forward.
Note: Entering raw text will not allow the message to be translated between user languages. If you're only making a map, there's nothing you can do to get around this. Mods can create their own versions of the language files.

Inputs[edit | edit source]

ShowHudHint
Shows the hint message.
HideHudHint
Hides the hint message.

See Also[edit | edit source]