0166

From GTAModding
Jump to: navigation, search

GTA III Vice City DIM_BLIP


Description

Dims the specified blip

Syntax

0166: set_marker [blip handle] brightness_to [int]

Parameter

[blip handle]
The handle of the blip
[int]
0 = normal, 1 = dim

Native analog

DIM_BLIP

This opcode dims the brightness of the blip. The resulting color is determined by a predefined list and the color of the normal blip. It essentially halves all three RGB color values of the blip. For example, if the blip's color is normally (255,0,255), dimming the blip will produce a blip with color (127,0,127). It has no effect on sprites.

Keywords

set, blip, marker, dim, bright, brightness