Env message

From Valve Developer Community
Revision as of 02:58, 31 October 2005 by Hurricaaane (talk | contribs) (Cleaned up!)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

An entity that draws a text message on player's HUDs.

Keyvalues

  • message
<string>
  • messagesound
<sound> When the message is shown, this sound effect will be played, originating from this entity.
  • messagevolume
<string> Volume of the sound effect.
  • messageattenuation
<choices>
Literal Value Description
0 Small Radius
1 Medium Radius
2 Large Radius
3 Play Everywhere

Flags

  • 1 : Play Once
  • 2 : All Clients

Inputs

  • ShowMessage
Shows the message and plays the sound.

Outputs

  • OnShowMessage
Fired when the message is activated.