point_message_multiplayer

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

point_message_multiplayer is a point entity available in No More Room in Hell No More Room in Hell.

Entity Description

The point_message_multiplayer is a variant of the point entity point_message, with the notable ability of working in Multiplayer. This displays a text message in the world space, at it's origin.

KeyValues

Name (targetname) <string>
The name that other entities refer to this entity by.
Entity Scripts (vscripts) <string>
Name(s) of script files that are executed after all entities have spawned.
Script think function (thinkfunction) <string>
Name of a function in this entity's script scope which will be called automatically.
Parent (parentname) <targetname>
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
Entity Message (message) <string>
Message text, supports localization strings.
Show Message Radius (radius) <integer>
Distance a player must be within to see this message. -1 to show everywhere.
Developer Only? (developeronly) <boolean>
If set, this message will only be visible when developer mode is on.
Font (font) <choices>
Which font to use? (from ClientScheme.res) Examples:
  • DebugFixedSmall - classic
  • PointMessageDefault - fancy
Proportional Font (fontproportional) <boolean>
If set, the text will scale to user resolution.
Enable Drop Shadow (fontdropshadow) <boolean>
If set, the font will have a drop shadow.
Offset Message Position (offsetposition) <boolean>
If set, text position will be offset relative to entity bounds. Works best when following parented entities. Select 'No' for entity origin.
Offset Position Height (heightoffset) <float>
When Offset Message Position is set, this allows you to set message offset relative to entity bounds. For example, 0.5 would print at the center of the hull, while 1.25 prints slightly over the top.
Text Color (color) <color255>
The colour of the text.

Flags

Start Disabled : [1]

Inputs

Kill
Kills the entity.
Enable
Enables viewing this message.
Disable
Disables viewing this message.
SetColor <color255RedirectInput/color32>
Sets the colour for the message's text.
SetMessage <stringRedirectInput/string>
Sets the message's text to a new one.

Outputs

OnUser1 to OnUser4
Fired in response to the FireUser inputs.