04C7

From GTAMods Wiki
Jump to navigation Jump to search
04C7 in action

Vice City SWITCH_SECURITY_CAMERA


Description
Switches the security camera
Syntax
04C7: toggle_camera_green_scanlines [int]
Parameter
[int]
0 = off, 1 = on

This opcode switches the security camera, which displays a green scan line overlay on the screen. The opcode is used for security cameras in Diaz's Mansion and El Banco Corrupto Grande. The scan line will overlay almost everything on the screen but notable exceptions include the clock and some texts like messages and big messages. The bottom right area of the screen will display a number that increases from 0 to 63 for 64 frames and loops back to 0. The scan line will display a darker shade bar that scrolls down the screen and loops back after 62 frames. In Liberty City Stories, the scan line do not overlay the HUD as clearly, the dark green bar is thicker, and no number is displayed. The security camera is switched off when a mission cleanup is processed.

Keywords

set, switch, toggle, draw, camera, green, scanline, scanlines, security

See also

  • Vice City 0507, switches the lift camera