Editor text: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added image)
m (→‎top: clean up, replaced: {{Language subpage → {{langsp)
Line 1: Line 1:
{{Language subpage}}
{{langsp}}
It is used to add 3D comments to a map. The text only appears in Hammer as the entity does not actually exist in game.
It is used to add 3D comments to a map. The text only appears in Hammer as the entity does not actually exist in game.
[[Image:editor text.png|thumb|right|editor_text used to display "Hello World" in Hammer]]
[[Image:editor text.png|thumb|right|editor_text used to display "Hello World" in Hammer]]

Revision as of 01:04, 4 January 2024

English (en)Suomi (fi)Русский (ru)Translate (Translate)

It is used to add 3D comments to a map. The text only appears in Hammer as the entity does not actually exist in game.

editor_text used to display "Hello World" in Hammer

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by.
Entity Message (message) <string>
The actual message of the text.
Text Size (textsize) <integer>
The size of the text.
Color (color) <color255>
The color of the text.