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

Env message (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabs|env_message|goldsrc = 1|source = 1|main = source}} {{This is a|name=env_message|e0|engine=1}} It draws a text message on player HUDs ==Key Values== {{hl1_kv_targetn...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
Line 1: Line 1:
{{tabs|env_message|goldsrc = 1|source = 1|main = source}}  
{{tabs|env_message|goldsrc = 1|source = 1|main = source}}  
{{This is a|name=env_message|e0|engine=1}}  It draws a text message on player HUDs
{{this is a|point entity|name=env_message|engine=GoldSrc}}  It draws a text message on player HUDs


==Key Values==
==Key Values==

Latest revision as of 21:05, 17 May 2024

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

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
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]