Point message: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
==Entity Description== | ==Entity Description== | ||
[[Image:{{PAGENAME}}.png|left]]An entity that displays a text message in the world, at its origin. | [[Image:{{PAGENAME}}.png|left]]An entity that displays a text message in the world, at its origin. | ||
* See also [[game_text]] - A similar entity that displays a custom message directly on the player screen. | |||
{{clr}} | |||
{{ | |||
{{in code|class=class_c_message_entity.html CMessageEntity|file=message__entity_8cpp-source.html message_entity.cpp}} | {{in code|class=class_c_message_entity.html CMessageEntity|file=message__entity_8cpp-source.html message_entity.cpp}} | ||
Line 32: | Line 31: | ||
==Outputs== | ==Outputs== | ||
*{{o Targetname}} | *{{o Targetname}} | ||
Revision as of 15:46, 12 April 2008
Template:Wrongtitle Template:Base point
Entity Description
An entity that displays a text message in the world, at its origin.
- See also game_text - A similar entity that displays a custom message directly on the player screen.
Keyvalues
- <string> Message to show at this point
- radius
- <integer> Distance the player must be within to see this message.
- developeronly
- <boolean> If set, this message will only be visible when developer mode is on.
Flags
- 1 : Start Disabled
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Enable
- Start displaying the message text, if the player is within the message radius.
- Disable
- Stop displaying the message text.