This article's documentation is for the "GoldSrc" engine. Click here for more information.

env_message

From Valve Developer Community
Jump to: navigation, search

env_message is a point entity available in all GoldSrc GoldSrc games. It draws a text message on player HUDs

Key Values


Targetname:
Name (targetname) <targetname>
The targetname that other entities refer to this entity by.

Target:
Target (???) <target_destination>
The targetname of an entity this entity will trigger when activated.


Message Name (message) <string>
Message to be shown.
Sound Effect (messagesound) <sound>
When the message is shown, this sound effect will be played, originating from this entity.
Volume 0-10 (messagevolume) <string>
Volume of the sound effect.
Sound Radius (messageattenuation) <choices>
How big the radius of the sound is.
  • 0: Small Radius
  • 1: Medium Radius
  • 2: Large Radius
  • 3: Play Everywhere

Flags

  •  [1] : Play Once
  •  [2] : All Clients