Env message: Difference between revisions
Jump to navigation
Jump to search
(raw; needs cleanup) |
Hurricaaane (talk | contribs) (Cleaned up!) |
||
Line 1: | Line 1: | ||
{{ | {{wrongtitle|title=env_message}} | ||
==Entity Description== | |||
An entity that draws a text message on player's HUDs. | An entity that draws a text message on player's HUDs. | ||
==Keyvalues== | |||
* {{kv targetname}} | |||
* '''message''' | |||
: <string> | |||
* '''messagesound''' | |||
: <sound> When the message is shown, this sound effect will be played, originating from this entity. | |||
* '''messagevolume''' | |||
: <string> Volume of the sound effect. | |||
* '''messageattenuation''' | |||
: <choices> | |||
:{| | |||
! Literal Value || Description | |||
|- | |||
| 0 || Small Radius | |||
|- | |||
| 1 || Medium Radius | |||
|- | |||
| 2 || Large Radius | |||
|- | |||
| 3 || Play Everywhere | |||
|} | |||
==Flags== | |||
* 1 : Play Once | |||
* 2 : All Clients | |||
==Inputs== | |||
* {{i targetname}} | |||
*'''ShowMessage''' | |||
:Shows the message and plays the sound. | |||
==Outputs== | |||
* {{o targetname}} | |||
*'''OnShowMessage''' | |||
:Fired when the message is activated. | |||
[[Category:Entities]] | |||
Revision as of 02:58, 31 October 2005
Entity Description
An entity that draws a text message on player's HUDs.
Keyvalues
- message
- <string>
- messagesound
- <sound> When the message is shown, this sound effect will be played, originating from this entity.
- messagevolume
- <string> Volume of the sound effect.
- messageattenuation
- <choices>
Literal Value Description 0 Small Radius 1 Medium Radius 2 Large Radius 3 Play Everywhere
Flags
- 1 : Play Once
- 2 : All Clients
Inputs
- ShowMessage
- Shows the message and plays the sound.
Outputs
- OnShowMessage
- Fired when the message is activated.