Env hudhint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(See also env_message for other predefined messages.)
Line 3: Line 3:
==Entity Description==
==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.
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.
===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 the [[Keyvalue]] '''"Message"'''.


==Availability==
==Availability==

Revision as of 15:18, 31 July 2007

Template:Wrongtitle

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.

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 the Keyvalue "Message".

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<string> This should be set to match the desired HUD hint entry in the hl2\resource\valve_english.txt file packed within the Steam/SteamApps/source engine.gcf file.

Inputs

  • ShowHudHint
Shows the hint message.
Hides the hint message.

Outputs

See Also

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