Env hudhint: Difference between revisions
Jump to navigation
Jump to search
Craziestdan (talk | contribs) (No such thing exists!) |
Craziestdan (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
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! | {{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! | ||
== Availability == | == Availability == |
Revision as of 18:05, 10 July 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.
{{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!
Availability
Template:In game Template:Game-base In code it is represented by class CEnvHudHint, defined in EnvHudHint.cpp.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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 (in all games since
)
- Hides the hint message.
Outputs
See also
- env_message - A similar entity that displays other predefined messages on the screen.