Env message

From Valve Developer Community
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Env message.png

An entity that draws a text message on player's HUD (or players' HUD's).

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.