VGUI Screen: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added to categories)
mNo edit summary
Line 32: Line 32:




[[Category:VGUI]][[Category:Entities]][[Category:Level Design]]
[[Category:VGUI]][[Category:Entities]]

Revision as of 05:42, 28 September 2005

A VGUI screen. Useful for in-world monitors.

Warning: does not work in HL2, HL2:DM, or the unedited SDK code; it crashes the game.

Key values

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

Make the vgui screen visible.
  • SetInactive
Make the vgui screen invisible.

Outputs

Template:O targetname

See also