Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Env message
From HalfLife 2 Knowledge Base
Contents |
[edit]
env_message
Source(core) Point Entity
[edit]
description
An entity that draws a text message on player's HUDs.
[edit]
properties
- Name targetname(target_source)
The name that other entities refer to this entity by. - Message Text message(string)
- Sound Effect messagesound(sound)
When the message is shown, this sound effect will be played, originating from this entity. - Volume 0-10 messagevolume(string) - default: 10
Volume of the sound effect. - Sound Radius messageattenuation(Choices)
- 0 - Small Radius
- 1 - Medium Radius
- 2 - Large Radius
- 3 - Play Everywhere
[edit]
spawn flags
- 1: Play Once - default: OFF
- 2: All Clients - default: OFF
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - ShowMessage(void)
Shows the message and plays the sound.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input. - OnShowMessage(void)
Fired when the message is activated.
[edit]
related tutorials
Submit your tutorial for env_message

