VGUI Screen: Difference between revisions
Jump to navigation
Jump to search
Warning:This entity does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. See VGUI Screen Creation.
C4terDarge (talk | contribs) No edit summary |
m (revert) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=vgui_screen}} | {{wrongtitle|title=vgui_screen}} | ||
==Entity | == Entity description == | ||
A [[Vgui|VGUI]] screen. Useful for in-world monitors. | A [[Vgui|VGUI]] screen. Useful for in-world monitors. | ||
{{warning|This entity does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. See [[VGUI Screen Creation]].}} | {{warning|This entity does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game. See [[VGUI Screen Creation]].}} | ||
== | == Keyvalues == | ||
*{{kv targetname}} | *{{kv targetname}} | ||
*{{kv parentname}} | *{{kv parentname}} | ||
Line 21: | Line 19: | ||
:Height of the panel in units. | :Height of the panel in units. | ||
==Inputs== | == Inputs == | ||
*{{i targetname}} | *{{i targetname}} | ||
*{{i parentname}} | *{{i parentname}} | ||
Line 29: | Line 27: | ||
:Make the vgui screen invisible. | :Make the vgui screen invisible. | ||
==Outputs== | == Outputs == | ||
{{o targetname}} | {{o targetname}} | ||
Revision as of 06:05, 3 October 2007
Entity description
A VGUI screen. Useful for in-world monitors.

Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv angles
- panelname <string>
- Name of the panel to use. This is not a filename.
- overlaymaterial <string>
- Name of a material to overlay over the top of the VGUI screen.
Note:This material must write Z for the VGUI screen to work.
- width <integer>
- Width of the panel in units.
- height <integer>
- Height of the panel in units.
Inputs
- Template:I targetname
- Template:I parentname
- SetActive
- Make the vgui screen visible.
- SetInactive
- Make the vgui screen invisible.