Summary

Methods

Draws the monitor and its screen for players within 1000 units.
Sets up the monitor's frozen physics and starts it switched off.
Networks a player's civil record to clients for the monitor to display.
Spawns the monitor from the spawn menu where the player looks, facing out of the surface.
Think()server
Switches the monitor off once its six seconds are up, checking once a second.
TurnOff()server
Switches the monitor's screen off with a blip.
TurnOn()server
Switches the monitor's screen on with a blip for six seconds.
Shows a non-Combine player's civil record on the monitor when it is switched off.

Methods

Draws the monitor and its screen for players within 1000 units.

The screen shows a waiting message when off and the networked civil record when on. Anti-citizens get a red error screen with scrolling noise, drawn only within 300 units.

On the server

Sets up the monitor's frozen physics and starts it switched off.

On the client

Creates the render target and scanline material the monitor's screen is drawn with.

Defined in

Networks a player's civil record to clients for the monitor to display.

The record holds the name, citizen ID, loyalty, crime and work points, a work level from 1 to 10 derived from the work points, citizen status, residence and job.

Parameters

  • player Player The player whose record is shown

Spawns the monitor from the spawn menu where the player looks, facing out of the surface.

Parameters

  • client
  • trace

Returns

  • Entity The new monitor

Switches the monitor off once its six seconds are up, checking once a second.

Switches the monitor's screen off with a blip.

Switches the monitor's screen on with a blip for six seconds.

Shows a non-Combine player's civil record on the monitor when it is switched off.

Parameters

  • player

Defined in