Env hudhint: Difference between revisions
Jump to navigation
Jump to search
Fitzroy doll (talk | contribs) m (Switching entry keyvalues to SmartEdit text from actual keyvalue.) |
TomEdwards (talk | contribs) (fmt) |
||
| Line 1: | Line 1: | ||
{{ | {{base point}} It is an entity to control the display of HUD hints, which show the player what key is bound to a particular command. __NOTOC__ | ||
== | == See also == | ||
* [[env_message]] - A similar entity that displays other predefined messages on the screen. | |||
== Keyvalues == | |||
; Hint Text (localized) <code><[[string]]></code> | |||
{{ | : This should be match a HUD hint entry in <code>hl2\resource\[[valve_english.txt]]</code> or its localized equivalent. {{todo|Should the string start with the # character?}} {{warning|If an unlocalized string (ex. "%+USE to use") is typed directly in editor, Hammer will become confused the next time the VMF is loaded and freeze!}} | ||
{{KV Targetname}} | |||
== | == Inputs == | ||
; <code>ShowHudHint</code> | |||
; {{EP1 add|<code>HideHudHint</code>}} | |||
: Show/hide the hint message. | |||
: | {{I Targetname}} | ||
== Outputs == | == Outputs == | ||
= | {{O Targetname}} | ||
{{wrongtitle|title=env_hudhint}}[[Category:GUI Entities]] | |||
Revision as of 04:05, 20 July 2009
Template:Base point It is an entity to control the display of HUD hints, which show the player what key is bound to a particular command.
See also
- env_message - A similar entity that displays other predefined messages on the screen.
Keyvalues
- Hint Text (localized)
<string> - This should be match a HUD hint entry in
hl2\resource\valve_english.txtor its localized equivalent.Todo: Should the string start with the # character?
Warning:If an unlocalized string (ex. "%+USE to use") is typed directly in editor, Hammer will become confused the next time the VMF is loaded and freeze!
- 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
ShowHudHintHideHudHint(in all games since
)- Show/hide the hint message.