Env hudhint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(raw; needs cleanup)
 
(bot-assisted cleanup)
Line 1: Line 1:
{{cleanup}}
{{wrongtitle|title=env_hudhint}}
env_hudhint


==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.


KEYS
==Availability==
{{in game|point}} {{game-base}}
{{in code|class=CEnvHudHint|file=EnvHudHint.cpp}}


Name targetname <target_source> The name that other entities refer to this entity by.
==Keyvalues==
*{{kv Targetname}}
*'''message'''
:<string> This should be set to match the desired HUD hint entry in the <code>hl2\resource\valve_english.txt</code>.


Hint Text (localized) message <string> This should be set to match the desired HUD hint entry in the hl2lesourceUalve_english.txt.
==Inputs==
*{{i Targetname}}
*'''ShowHudHint'''
:Shows the hint message.


==Outputs==
*{{o Targetname}}


INPUTS
[[Category:Entities]]
 
Kill Removes this entity from the world.
 
KillHierarchy Removes this entity and all its children from the world.
 
AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
 
FireUser1 Causes this entity's OnUser1 output to be fired.
 
FireUser2 Causes this entity's OnUser2 output to be fired.
 
FireUser3 Causes this entity's OnUser3 output to be fired.
 
FireUser4 Causes this entity's OnUser4 output to be fired.
 
ShowHudHint Shows the hint message.
 
 
OUTPUTS
 
OnUser1 Fired in response to FireUser1 input.
 
OnUser2 Fired in response to FireUser2 input.
 
OnUser3 Fired in response to FireUser3 input.
 
OnUser4 Fired in response to FireUser4 input.

Revision as of 20:24, 7 October 2005

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.

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.

Inputs

  • ShowHudHint
Shows the hint message.

Outputs