Home Reference Source

Variable

Static Public Summary
public

List of hud hiding behavors.

Static Public

public HideType: HideType[] source

import {HideType} from './vgui/50-hud.js'

List of hud hiding behavors. Can be combined using |

  • weaponSelection: Hides when player is no longer able to select a weapon (in certain vehicles for example).
  • flashlight: Hides if server / map doesn't allow flashlight usage
  • all: Don't use this. Has no extra behaviour
  • health: Hides when health elements are hidden (command mode)
  • playerDead: Hides the hud element when the player is dead
  • needSuit: Not unused in Empires
  • chat: Hides when chat elements hide
  • crosshair: Hides when crosshair hides
  • vehicleCrosshair: Hides when vehicle crosshair hides
  • inVehicle: Hides when player is in vehicle
  • bonusProgress: Unused
  • commander: Hide when player is not command mode