Env hudhint

From Valve Developer Community
Revision as of 05:22, 2 March 2019 by Loudslappingsounds (talk | contribs) (removed fake news added flag)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
Hudhint.png

Template:Base point It is used to control the display of HUD hints, which show the player what key is bound to a particular command.

Flags

  • 1: All Players - Show the message to everyone on the server (otherwise show to !activator only)

Keyvalues

Hint Text (localized) (message) ([todo internal name (i)]) <string>
This should be match a HUD hint entry in hl2\resource\valve_english.txt or 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.pngWarning:Entering raw text will not allow the message to be translated between user languages.


Inputs

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


Outputs

See Also

  • env_message - A similar entity that displays other predefined messages on the screen.