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

env_message

From Valve Developer Community
Jump to navigation Jump to 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) <string>
The targetname that other entities refer to this entity by.
Target:
Target (target) <targetname>
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

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