vgui_world_text_panel
Jump to navigation
Jump to search
Code classes:
CWorldVguiText
CBaseEntity
(all ents)
vgui_world_text_panel
is a point entity present in Counter-Strike: Global Offensive. It shows text in the world.
Keyvalues[edit | edit source]
- Enabled by default?
(enabled)
<boolean>
- Self-explanatory.
- Display Text
(displaytext)
<string>
- Text to show.
- Display Text Option
(displaytextoption)
<string>
- If using a localized string that has a
%s1
token, the text to show in place of that. - Font
(font)
<string>
- Name of a font to show. Must match an entry in the fonts section of
csgo/pak01_dir.vpk/resource/sourcescheme.res
. - Panel width
(width)
<integer>
- How wide the text is. The size of the text also depends on the
tall
variable insourcescheme.res
. - Panel height
(height)
<integer>
- How tall the text is.
- Text Panel Width
(textpanelwidth)
<integer>
- How much space the text has before it wraps around.
- Text Color
(textcolor)
<color255>
- Color of the text.
Inputs[edit | edit source]
- SetDisplayText
<string>
- Sets Display Text.
- SetDisplayTextOption (Not in FGD)
<string>
- Sets Display Text Option. Bug: If Display Text Option does not have a default value, this input can cause incorrect characters to appear.
- Enable
- Makes the entity active.
- Disable
- Makes the entity inactive.