env_message

From Valve Developer Community
Revision as of 16:22, 10 February 2024 by N0one (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

env_message is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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]